{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "from opendatatools import stock\n",
    "stock.set_proxies({\"https\" : \"https://127.0.0.1:1080\"})"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>amount</th>\n",
       "      <th>change</th>\n",
       "      <th>float_market_capital</th>\n",
       "      <th>high</th>\n",
       "      <th>is_trading</th>\n",
       "      <th>last</th>\n",
       "      <th>low</th>\n",
       "      <th>market_capital</th>\n",
       "      <th>percent</th>\n",
       "      <th>symbol</th>\n",
       "      <th>time</th>\n",
       "      <th>turnover_rate</th>\n",
       "      <th>volume</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1.670078e+09</td>\n",
       "      <td>0.49</td>\n",
       "      <td>2.706646e+11</td>\n",
       "      <td>28.30</td>\n",
       "      <td>True</td>\n",
       "      <td>27.86</td>\n",
       "      <td>27.33</td>\n",
       "      <td>3.075508e+11</td>\n",
       "      <td>1.79</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-15 14:10:03.000</td>\n",
       "      <td>0.61</td>\n",
       "      <td>59731180</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1.436912e+08</td>\n",
       "      <td>0.04</td>\n",
       "      <td>2.886257e+11</td>\n",
       "      <td>10.34</td>\n",
       "      <td>True</td>\n",
       "      <td>10.26</td>\n",
       "      <td>10.19</td>\n",
       "      <td>3.014459e+11</td>\n",
       "      <td>0.39</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-06-15 14:10:00.530</td>\n",
       "      <td>0.05</td>\n",
       "      <td>13976112</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         amount  change  float_market_capital   high  is_trading   last  \\\n",
       "0  1.670078e+09    0.49          2.706646e+11  28.30        True  27.86   \n",
       "1  1.436912e+08    0.04          2.886257e+11  10.34        True  10.26   \n",
       "\n",
       "     low  market_capital  percent     symbol                    time  \\\n",
       "0  27.33    3.075508e+11     1.79  000002.SZ 2018-06-15 14:10:03.000   \n",
       "1  10.19    3.014459e+11     0.39  600000.SH 2018-06-15 14:10:00.530   \n",
       "\n",
       "   turnover_rate    volume  \n",
       "0           0.61  59731180  \n",
       "1           0.05  13976112  "
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取实时行情\n",
    "df, msg = stock.get_quote('600000.SH,000002.SZ')\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "''"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>change</th>\n",
       "      <th>high</th>\n",
       "      <th>last</th>\n",
       "      <th>low</th>\n",
       "      <th>open</th>\n",
       "      <th>percent</th>\n",
       "      <th>symbol</th>\n",
       "      <th>time</th>\n",
       "      <th>turnover_rate</th>\n",
       "      <th>volume</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>-0.22</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.42</td>\n",
       "      <td>27.41</td>\n",
       "      <td>27.48</td>\n",
       "      <td>-0.80</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:31:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>525045</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0.14</td>\n",
       "      <td>27.56</td>\n",
       "      <td>27.56</td>\n",
       "      <td>27.43</td>\n",
       "      <td>27.43</td>\n",
       "      <td>0.51</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:32:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>413935</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.63</td>\n",
       "      <td>27.58</td>\n",
       "      <td>27.56</td>\n",
       "      <td>27.56</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:33:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>285688</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.60</td>\n",
       "      <td>27.60</td>\n",
       "      <td>27.57</td>\n",
       "      <td>27.58</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:34:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>271095</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0.03</td>\n",
       "      <td>27.63</td>\n",
       "      <td>27.63</td>\n",
       "      <td>27.59</td>\n",
       "      <td>27.60</td>\n",
       "      <td>0.11</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:35:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>331379</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>-0.03</td>\n",
       "      <td>27.65</td>\n",
       "      <td>27.60</td>\n",
       "      <td>27.60</td>\n",
       "      <td>27.65</td>\n",
       "      <td>-0.11</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:36:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>277700</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.61</td>\n",
       "      <td>27.60</td>\n",
       "      <td>27.57</td>\n",
       "      <td>27.59</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:37:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>311098</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.61</td>\n",
       "      <td>27.60</td>\n",
       "      <td>27.58</td>\n",
       "      <td>27.58</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:38:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>155395</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>0.03</td>\n",
       "      <td>27.63</td>\n",
       "      <td>27.63</td>\n",
       "      <td>27.59</td>\n",
       "      <td>27.60</td>\n",
       "      <td>0.11</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:39:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>259326</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0.06</td>\n",
       "      <td>27.69</td>\n",
       "      <td>27.69</td>\n",
       "      <td>27.63</td>\n",
       "      <td>27.63</td>\n",
       "      <td>0.22</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:40:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>243314</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.72</td>\n",
       "      <td>27.71</td>\n",
       "      <td>27.69</td>\n",
       "      <td>27.69</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:41:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>250226</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>0.01</td>\n",
       "      <td>27.73</td>\n",
       "      <td>27.72</td>\n",
       "      <td>27.71</td>\n",
       "      <td>27.71</td>\n",
       "      <td>0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:42:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>225005</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>0.03</td>\n",
       "      <td>27.76</td>\n",
       "      <td>27.75</td>\n",
       "      <td>27.72</td>\n",
       "      <td>27.73</td>\n",
       "      <td>0.11</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:43:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>278352</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>-0.10</td>\n",
       "      <td>27.75</td>\n",
       "      <td>27.65</td>\n",
       "      <td>27.64</td>\n",
       "      <td>27.75</td>\n",
       "      <td>-0.36</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:44:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>250328</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>-0.04</td>\n",
       "      <td>27.65</td>\n",
       "      <td>27.61</td>\n",
       "      <td>27.61</td>\n",
       "      <td>27.65</td>\n",
       "      <td>-0.14</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:45:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>119404</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.62</td>\n",
       "      <td>27.61</td>\n",
       "      <td>27.60</td>\n",
       "      <td>27.61</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:46:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>164017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>-0.10</td>\n",
       "      <td>27.62</td>\n",
       "      <td>27.51</td>\n",
       "      <td>27.51</td>\n",
       "      <td>27.61</td>\n",
       "      <td>-0.36</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:47:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>325343</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>-0.02</td>\n",
       "      <td>27.51</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.51</td>\n",
       "      <td>-0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:48:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>441104</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.49</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:49:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>258201</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.52</td>\n",
       "      <td>27.51</td>\n",
       "      <td>27.50</td>\n",
       "      <td>27.50</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:50:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>144418</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>27.52</td>\n",
       "      <td>27.50</td>\n",
       "      <td>27.50</td>\n",
       "      <td>27.51</td>\n",
       "      <td>-0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:51:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>184084</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.52</td>\n",
       "      <td>27.52</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.49</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:52:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>151638</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.54</td>\n",
       "      <td>27.54</td>\n",
       "      <td>27.52</td>\n",
       "      <td>27.52</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:53:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>247015</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>0.03</td>\n",
       "      <td>27.57</td>\n",
       "      <td>27.57</td>\n",
       "      <td>27.53</td>\n",
       "      <td>27.53</td>\n",
       "      <td>0.11</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:54:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>155523</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>0.03</td>\n",
       "      <td>27.60</td>\n",
       "      <td>27.60</td>\n",
       "      <td>27.56</td>\n",
       "      <td>27.57</td>\n",
       "      <td>0.11</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:55:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>264766</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>0.04</td>\n",
       "      <td>27.64</td>\n",
       "      <td>27.64</td>\n",
       "      <td>27.59</td>\n",
       "      <td>27.59</td>\n",
       "      <td>0.14</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:56:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>356210</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>0.05</td>\n",
       "      <td>27.69</td>\n",
       "      <td>27.69</td>\n",
       "      <td>27.62</td>\n",
       "      <td>27.62</td>\n",
       "      <td>0.18</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:57:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>233568</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.70</td>\n",
       "      <td>27.69</td>\n",
       "      <td>27.68</td>\n",
       "      <td>27.70</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:58:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>164989</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.71</td>\n",
       "      <td>27.71</td>\n",
       "      <td>27.69</td>\n",
       "      <td>27.70</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 09:59:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>179903</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>0.03</td>\n",
       "      <td>27.74</td>\n",
       "      <td>27.74</td>\n",
       "      <td>27.71</td>\n",
       "      <td>27.71</td>\n",
       "      <td>0.11</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 10:00:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>209929</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>210</th>\n",
       "      <td>-0.02</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.44</td>\n",
       "      <td>27.48</td>\n",
       "      <td>-0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:31:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>281000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>211</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.47</td>\n",
       "      <td>-0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:32:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>98842</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>212</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.47</td>\n",
       "      <td>-0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:33:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>51258</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>213</th>\n",
       "      <td>0.01</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.47</td>\n",
       "      <td>0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:34:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>118700</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>214</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.47</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:35:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>121096</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>215</th>\n",
       "      <td>0.01</td>\n",
       "      <td>27.50</td>\n",
       "      <td>27.50</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.48</td>\n",
       "      <td>0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:36:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>137438</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>216</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.51</td>\n",
       "      <td>27.50</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.49</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:37:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>259800</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>217</th>\n",
       "      <td>-0.02</td>\n",
       "      <td>27.50</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.50</td>\n",
       "      <td>-0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:38:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>109700</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>218</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.49</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:39:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>79109</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>219</th>\n",
       "      <td>-0.03</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.45</td>\n",
       "      <td>27.44</td>\n",
       "      <td>27.48</td>\n",
       "      <td>-0.11</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:40:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>131955</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>220</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.45</td>\n",
       "      <td>27.43</td>\n",
       "      <td>27.43</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:41:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>83900</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>221</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.45</td>\n",
       "      <td>27.45</td>\n",
       "      <td>27.46</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:42:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>73500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>222</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.45</td>\n",
       "      <td>27.45</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:43:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>74607</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>223</th>\n",
       "      <td>0.01</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.47</td>\n",
       "      <td>0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:44:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>218928</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>224</th>\n",
       "      <td>-0.02</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.45</td>\n",
       "      <td>27.47</td>\n",
       "      <td>-0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:45:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>73156</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>225</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.45</td>\n",
       "      <td>27.45</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:46:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>108652</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>226</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.47</td>\n",
       "      <td>-0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:47:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>76502</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>227</th>\n",
       "      <td>0.01</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.47</td>\n",
       "      <td>0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:48:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>112904</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>228</th>\n",
       "      <td>0.01</td>\n",
       "      <td>27.50</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.49</td>\n",
       "      <td>0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:49:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>225600</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>229</th>\n",
       "      <td>-0.02</td>\n",
       "      <td>27.50</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.47</td>\n",
       "      <td>27.48</td>\n",
       "      <td>-0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:50:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>201509</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>230</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>27.49</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.47</td>\n",
       "      <td>-0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:51:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>239142</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>231</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.48</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.46</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:52:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>177995</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>232</th>\n",
       "      <td>-0.04</td>\n",
       "      <td>27.46</td>\n",
       "      <td>27.42</td>\n",
       "      <td>27.42</td>\n",
       "      <td>27.46</td>\n",
       "      <td>-0.15</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:53:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>136402</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>233</th>\n",
       "      <td>0.01</td>\n",
       "      <td>27.43</td>\n",
       "      <td>27.43</td>\n",
       "      <td>27.42</td>\n",
       "      <td>27.43</td>\n",
       "      <td>0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:54:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>108213</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>-0.02</td>\n",
       "      <td>27.43</td>\n",
       "      <td>27.41</td>\n",
       "      <td>27.41</td>\n",
       "      <td>27.43</td>\n",
       "      <td>-0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:55:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>151783</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>0.00</td>\n",
       "      <td>27.43</td>\n",
       "      <td>27.41</td>\n",
       "      <td>27.41</td>\n",
       "      <td>27.43</td>\n",
       "      <td>0.00</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:56:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>151913</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>-0.02</td>\n",
       "      <td>27.42</td>\n",
       "      <td>27.39</td>\n",
       "      <td>27.38</td>\n",
       "      <td>27.42</td>\n",
       "      <td>-0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:57:00</td>\n",
       "      <td>0.01</td>\n",
       "      <td>129938</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>27.38</td>\n",
       "      <td>27.38</td>\n",
       "      <td>27.38</td>\n",
       "      <td>27.38</td>\n",
       "      <td>-0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 14:58:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>5100</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>27.37</td>\n",
       "      <td>27.37</td>\n",
       "      <td>27.37</td>\n",
       "      <td>27.37</td>\n",
       "      <td>-0.04</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-14 15:00:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>290300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>0.02</td>\n",
       "      <td>27.44</td>\n",
       "      <td>27.39</td>\n",
       "      <td>27.35</td>\n",
       "      <td>27.37</td>\n",
       "      <td>0.07</td>\n",
       "      <td>000002.SZ</td>\n",
       "      <td>2018-06-15 09:31:00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>404100</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>240 rows × 10 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     change   high   last    low   open  percent     symbol  \\\n",
       "0     -0.22  27.49  27.42  27.41  27.48    -0.80  000002.SZ   \n",
       "1      0.14  27.56  27.56  27.43  27.43     0.51  000002.SZ   \n",
       "2      0.02  27.63  27.58  27.56  27.56     0.07  000002.SZ   \n",
       "3      0.02  27.60  27.60  27.57  27.58     0.07  000002.SZ   \n",
       "4      0.03  27.63  27.63  27.59  27.60     0.11  000002.SZ   \n",
       "5     -0.03  27.65  27.60  27.60  27.65    -0.11  000002.SZ   \n",
       "6      0.00  27.61  27.60  27.57  27.59     0.00  000002.SZ   \n",
       "7      0.00  27.61  27.60  27.58  27.58     0.00  000002.SZ   \n",
       "8      0.03  27.63  27.63  27.59  27.60     0.11  000002.SZ   \n",
       "9      0.06  27.69  27.69  27.63  27.63     0.22  000002.SZ   \n",
       "10     0.02  27.72  27.71  27.69  27.69     0.07  000002.SZ   \n",
       "11     0.01  27.73  27.72  27.71  27.71     0.04  000002.SZ   \n",
       "12     0.03  27.76  27.75  27.72  27.73     0.11  000002.SZ   \n",
       "13    -0.10  27.75  27.65  27.64  27.75    -0.36  000002.SZ   \n",
       "14    -0.04  27.65  27.61  27.61  27.65    -0.14  000002.SZ   \n",
       "15     0.00  27.62  27.61  27.60  27.61     0.00  000002.SZ   \n",
       "16    -0.10  27.62  27.51  27.51  27.61    -0.36  000002.SZ   \n",
       "17    -0.02  27.51  27.49  27.47  27.51    -0.07  000002.SZ   \n",
       "18     0.00  27.49  27.49  27.47  27.49     0.00  000002.SZ   \n",
       "19     0.02  27.52  27.51  27.50  27.50     0.07  000002.SZ   \n",
       "20    -0.01  27.52  27.50  27.50  27.51    -0.04  000002.SZ   \n",
       "21     0.02  27.52  27.52  27.49  27.49     0.07  000002.SZ   \n",
       "22     0.02  27.54  27.54  27.52  27.52     0.07  000002.SZ   \n",
       "23     0.03  27.57  27.57  27.53  27.53     0.11  000002.SZ   \n",
       "24     0.03  27.60  27.60  27.56  27.57     0.11  000002.SZ   \n",
       "25     0.04  27.64  27.64  27.59  27.59     0.14  000002.SZ   \n",
       "26     0.05  27.69  27.69  27.62  27.62     0.18  000002.SZ   \n",
       "27     0.00  27.70  27.69  27.68  27.70     0.00  000002.SZ   \n",
       "28     0.02  27.71  27.71  27.69  27.70     0.07  000002.SZ   \n",
       "29     0.03  27.74  27.74  27.71  27.71     0.11  000002.SZ   \n",
       "..      ...    ...    ...    ...    ...      ...        ...   \n",
       "210   -0.02  27.49  27.48  27.44  27.48    -0.07  000002.SZ   \n",
       "211   -0.01  27.47  27.47  27.46  27.47    -0.04  000002.SZ   \n",
       "212   -0.01  27.47  27.46  27.46  27.47    -0.04  000002.SZ   \n",
       "213    0.01  27.48  27.47  27.46  27.47     0.04  000002.SZ   \n",
       "214    0.02  27.49  27.49  27.47  27.47     0.07  000002.SZ   \n",
       "215    0.01  27.50  27.50  27.47  27.48     0.04  000002.SZ   \n",
       "216    0.00  27.51  27.50  27.48  27.49     0.00  000002.SZ   \n",
       "217   -0.02  27.50  27.48  27.48  27.50    -0.07  000002.SZ   \n",
       "218    0.00  27.49  27.48  27.47  27.49     0.00  000002.SZ   \n",
       "219   -0.03  27.48  27.45  27.44  27.48    -0.11  000002.SZ   \n",
       "220    0.00  27.48  27.45  27.43  27.43     0.00  000002.SZ   \n",
       "221    0.00  27.48  27.45  27.45  27.46     0.00  000002.SZ   \n",
       "222    0.02  27.47  27.47  27.45  27.45     0.07  000002.SZ   \n",
       "223    0.01  27.49  27.48  27.46  27.47     0.04  000002.SZ   \n",
       "224   -0.02  27.47  27.46  27.45  27.47    -0.07  000002.SZ   \n",
       "225    0.02  27.48  27.48  27.45  27.45     0.07  000002.SZ   \n",
       "226   -0.01  27.48  27.47  27.47  27.47    -0.04  000002.SZ   \n",
       "227    0.01  27.49  27.48  27.47  27.47     0.04  000002.SZ   \n",
       "228    0.01  27.50  27.49  27.48  27.49     0.04  000002.SZ   \n",
       "229   -0.02  27.50  27.47  27.47  27.48    -0.07  000002.SZ   \n",
       "230   -0.01  27.49  27.46  27.46  27.47    -0.04  000002.SZ   \n",
       "231    0.00  27.48  27.46  27.46  27.46     0.00  000002.SZ   \n",
       "232   -0.04  27.46  27.42  27.42  27.46    -0.15  000002.SZ   \n",
       "233    0.01  27.43  27.43  27.42  27.43     0.04  000002.SZ   \n",
       "234   -0.02  27.43  27.41  27.41  27.43    -0.07  000002.SZ   \n",
       "235    0.00  27.43  27.41  27.41  27.43     0.00  000002.SZ   \n",
       "236   -0.02  27.42  27.39  27.38  27.42    -0.07  000002.SZ   \n",
       "237   -0.01  27.38  27.38  27.38  27.38    -0.04  000002.SZ   \n",
       "238   -0.01  27.37  27.37  27.37  27.37    -0.04  000002.SZ   \n",
       "239    0.02  27.44  27.39  27.35  27.37     0.07  000002.SZ   \n",
       "\n",
       "                   time  turnover_rate  volume  \n",
       "0   2018-06-14 09:31:00           0.01  525045  \n",
       "1   2018-06-14 09:32:00           0.00  413935  \n",
       "2   2018-06-14 09:33:00           0.00  285688  \n",
       "3   2018-06-14 09:34:00           0.01  271095  \n",
       "4   2018-06-14 09:35:00           0.00  331379  \n",
       "5   2018-06-14 09:36:00           0.00  277700  \n",
       "6   2018-06-14 09:37:00           0.00  311098  \n",
       "7   2018-06-14 09:38:00           0.01  155395  \n",
       "8   2018-06-14 09:39:00           0.00  259326  \n",
       "9   2018-06-14 09:40:00           0.00  243314  \n",
       "10  2018-06-14 09:41:00           0.00  250226  \n",
       "11  2018-06-14 09:42:00           0.01  225005  \n",
       "12  2018-06-14 09:43:00           0.00  278352  \n",
       "13  2018-06-14 09:44:00           0.00  250328  \n",
       "14  2018-06-14 09:45:00           0.00  119404  \n",
       "15  2018-06-14 09:46:00           0.00  164017  \n",
       "16  2018-06-14 09:47:00           0.01  325343  \n",
       "17  2018-06-14 09:48:00           0.00  441104  \n",
       "18  2018-06-14 09:49:00           0.01  258201  \n",
       "19  2018-06-14 09:50:00           0.00  144418  \n",
       "20  2018-06-14 09:51:00           0.00  184084  \n",
       "21  2018-06-14 09:52:00           0.00  151638  \n",
       "22  2018-06-14 09:53:00           0.00  247015  \n",
       "23  2018-06-14 09:54:00           0.00  155523  \n",
       "24  2018-06-14 09:55:00           0.01  264766  \n",
       "25  2018-06-14 09:56:00           0.00  356210  \n",
       "26  2018-06-14 09:57:00           0.00  233568  \n",
       "27  2018-06-14 09:58:00           0.00  164989  \n",
       "28  2018-06-14 09:59:00           0.01  179903  \n",
       "29  2018-06-14 10:00:00           0.00  209929  \n",
       "..                  ...            ...     ...  \n",
       "210 2018-06-14 14:31:00           0.00  281000  \n",
       "211 2018-06-14 14:32:00           0.00   98842  \n",
       "212 2018-06-14 14:33:00           0.00   51258  \n",
       "213 2018-06-14 14:34:00           0.00  118700  \n",
       "214 2018-06-14 14:35:00           0.00  121096  \n",
       "215 2018-06-14 14:36:00           0.00  137438  \n",
       "216 2018-06-14 14:37:00           0.01  259800  \n",
       "217 2018-06-14 14:38:00           0.00  109700  \n",
       "218 2018-06-14 14:39:00           0.00   79109  \n",
       "219 2018-06-14 14:40:00           0.00  131955  \n",
       "220 2018-06-14 14:41:00           0.00   83900  \n",
       "221 2018-06-14 14:42:00           0.00   73500  \n",
       "222 2018-06-14 14:43:00           0.00   74607  \n",
       "223 2018-06-14 14:44:00           0.01  218928  \n",
       "224 2018-06-14 14:45:00           0.00   73156  \n",
       "225 2018-06-14 14:46:00           0.00  108652  \n",
       "226 2018-06-14 14:47:00           0.00   76502  \n",
       "227 2018-06-14 14:48:00           0.00  112904  \n",
       "228 2018-06-14 14:49:00           0.00  225600  \n",
       "229 2018-06-14 14:50:00           0.00  201509  \n",
       "230 2018-06-14 14:51:00           0.01  239142  \n",
       "231 2018-06-14 14:52:00           0.00  177995  \n",
       "232 2018-06-14 14:53:00           0.00  136402  \n",
       "233 2018-06-14 14:54:00           0.00  108213  \n",
       "234 2018-06-14 14:55:00           0.00  151783  \n",
       "235 2018-06-14 14:56:00           0.00  151913  \n",
       "236 2018-06-14 14:57:00           0.01  129938  \n",
       "237 2018-06-14 14:58:00           0.00    5100  \n",
       "238 2018-06-14 15:00:00           0.00  290300  \n",
       "239 2018-06-15 09:31:00           0.00  404100  \n",
       "\n",
       "[240 rows x 10 columns]"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取分钟线\n",
    "# 1m, 5m, 15m, 30m, 60m\n",
    "df, msg = stock.get_kline('000002.SZ', '2018-06-15', '1m')\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>change</th>\n",
       "      <th>high</th>\n",
       "      <th>last</th>\n",
       "      <th>low</th>\n",
       "      <th>open</th>\n",
       "      <th>percent</th>\n",
       "      <th>symbol</th>\n",
       "      <th>time</th>\n",
       "      <th>turnover_rate</th>\n",
       "      <th>volume</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>-0.05</td>\n",
       "      <td>12.84</td>\n",
       "      <td>12.80</td>\n",
       "      <td>12.66</td>\n",
       "      <td>12.80</td>\n",
       "      <td>-0.39</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-06</td>\n",
       "      <td>0.13</td>\n",
       "      <td>36104406</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0.04</td>\n",
       "      <td>12.99</td>\n",
       "      <td>12.84</td>\n",
       "      <td>12.78</td>\n",
       "      <td>12.81</td>\n",
       "      <td>0.31</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-07</td>\n",
       "      <td>0.23</td>\n",
       "      <td>64395191</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0.00</td>\n",
       "      <td>12.86</td>\n",
       "      <td>12.84</td>\n",
       "      <td>12.67</td>\n",
       "      <td>12.76</td>\n",
       "      <td>0.00</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-08</td>\n",
       "      <td>0.17</td>\n",
       "      <td>48194843</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0.09</td>\n",
       "      <td>13.20</td>\n",
       "      <td>12.93</td>\n",
       "      <td>12.77</td>\n",
       "      <td>12.79</td>\n",
       "      <td>0.70</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-09</td>\n",
       "      <td>0.41</td>\n",
       "      <td>114434319</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>-0.15</td>\n",
       "      <td>13.14</td>\n",
       "      <td>12.78</td>\n",
       "      <td>12.76</td>\n",
       "      <td>12.90</td>\n",
       "      <td>-1.16</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-12</td>\n",
       "      <td>0.26</td>\n",
       "      <td>73931192</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>-0.19</td>\n",
       "      <td>12.78</td>\n",
       "      <td>12.59</td>\n",
       "      <td>12.56</td>\n",
       "      <td>12.78</td>\n",
       "      <td>-1.49</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-13</td>\n",
       "      <td>0.19</td>\n",
       "      <td>52716070</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>-0.13</td>\n",
       "      <td>12.64</td>\n",
       "      <td>12.46</td>\n",
       "      <td>12.31</td>\n",
       "      <td>12.60</td>\n",
       "      <td>-1.03</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-14</td>\n",
       "      <td>0.20</td>\n",
       "      <td>55306982</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>-0.08</td>\n",
       "      <td>12.46</td>\n",
       "      <td>12.38</td>\n",
       "      <td>12.28</td>\n",
       "      <td>12.41</td>\n",
       "      <td>-0.64</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-15</td>\n",
       "      <td>0.13</td>\n",
       "      <td>37492860</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>-0.03</td>\n",
       "      <td>12.46</td>\n",
       "      <td>12.35</td>\n",
       "      <td>12.27</td>\n",
       "      <td>12.38</td>\n",
       "      <td>-0.24</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-16</td>\n",
       "      <td>0.17</td>\n",
       "      <td>47351062</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0.05</td>\n",
       "      <td>12.43</td>\n",
       "      <td>12.40</td>\n",
       "      <td>12.30</td>\n",
       "      <td>12.36</td>\n",
       "      <td>0.40</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-19</td>\n",
       "      <td>0.12</td>\n",
       "      <td>32941278</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>-0.11</td>\n",
       "      <td>12.44</td>\n",
       "      <td>12.29</td>\n",
       "      <td>12.22</td>\n",
       "      <td>12.41</td>\n",
       "      <td>-0.89</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-20</td>\n",
       "      <td>0.16</td>\n",
       "      <td>44645196</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>0.05</td>\n",
       "      <td>12.40</td>\n",
       "      <td>12.34</td>\n",
       "      <td>12.26</td>\n",
       "      <td>12.40</td>\n",
       "      <td>0.41</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-21</td>\n",
       "      <td>0.12</td>\n",
       "      <td>34000062</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>0.23</td>\n",
       "      <td>12.84</td>\n",
       "      <td>12.57</td>\n",
       "      <td>12.29</td>\n",
       "      <td>12.33</td>\n",
       "      <td>1.86</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-22</td>\n",
       "      <td>0.39</td>\n",
       "      <td>110259441</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>0.07</td>\n",
       "      <td>12.65</td>\n",
       "      <td>12.64</td>\n",
       "      <td>12.36</td>\n",
       "      <td>12.55</td>\n",
       "      <td>0.56</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-23</td>\n",
       "      <td>0.24</td>\n",
       "      <td>68579079</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>0.00</td>\n",
       "      <td>12.82</td>\n",
       "      <td>12.64</td>\n",
       "      <td>12.55</td>\n",
       "      <td>12.64</td>\n",
       "      <td>0.00</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-26</td>\n",
       "      <td>0.22</td>\n",
       "      <td>60509162</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>0.06</td>\n",
       "      <td>12.73</td>\n",
       "      <td>12.70</td>\n",
       "      <td>12.53</td>\n",
       "      <td>12.64</td>\n",
       "      <td>0.47</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-27</td>\n",
       "      <td>0.17</td>\n",
       "      <td>46687475</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>0.09</td>\n",
       "      <td>12.91</td>\n",
       "      <td>12.79</td>\n",
       "      <td>12.60</td>\n",
       "      <td>12.66</td>\n",
       "      <td>0.71</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-28</td>\n",
       "      <td>0.27</td>\n",
       "      <td>75349557</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>-0.03</td>\n",
       "      <td>12.86</td>\n",
       "      <td>12.76</td>\n",
       "      <td>12.70</td>\n",
       "      <td>12.81</td>\n",
       "      <td>-0.23</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-29</td>\n",
       "      <td>0.14</td>\n",
       "      <td>38994542</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>-0.11</td>\n",
       "      <td>12.73</td>\n",
       "      <td>12.65</td>\n",
       "      <td>12.59</td>\n",
       "      <td>12.70</td>\n",
       "      <td>-0.86</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-06-30</td>\n",
       "      <td>0.13</td>\n",
       "      <td>36566479</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>-0.09</td>\n",
       "      <td>12.65</td>\n",
       "      <td>12.56</td>\n",
       "      <td>12.47</td>\n",
       "      <td>12.64</td>\n",
       "      <td>-0.71</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-03</td>\n",
       "      <td>0.14</td>\n",
       "      <td>38778949</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>12.58</td>\n",
       "      <td>12.55</td>\n",
       "      <td>12.41</td>\n",
       "      <td>12.55</td>\n",
       "      <td>-0.08</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-04</td>\n",
       "      <td>0.13</td>\n",
       "      <td>36659128</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>0.07</td>\n",
       "      <td>12.65</td>\n",
       "      <td>12.62</td>\n",
       "      <td>12.47</td>\n",
       "      <td>12.50</td>\n",
       "      <td>0.56</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-05</td>\n",
       "      <td>0.09</td>\n",
       "      <td>26470507</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>0.04</td>\n",
       "      <td>12.72</td>\n",
       "      <td>12.66</td>\n",
       "      <td>12.51</td>\n",
       "      <td>12.62</td>\n",
       "      <td>0.32</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-06</td>\n",
       "      <td>0.13</td>\n",
       "      <td>37414241</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>-0.06</td>\n",
       "      <td>12.69</td>\n",
       "      <td>12.60</td>\n",
       "      <td>12.55</td>\n",
       "      <td>12.62</td>\n",
       "      <td>-0.47</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-07</td>\n",
       "      <td>0.09</td>\n",
       "      <td>24667294</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>-0.07</td>\n",
       "      <td>12.64</td>\n",
       "      <td>12.53</td>\n",
       "      <td>12.52</td>\n",
       "      <td>12.59</td>\n",
       "      <td>-0.56</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-10</td>\n",
       "      <td>0.09</td>\n",
       "      <td>26411530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>0.27</td>\n",
       "      <td>12.94</td>\n",
       "      <td>12.80</td>\n",
       "      <td>12.51</td>\n",
       "      <td>12.51</td>\n",
       "      <td>2.15</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-11</td>\n",
       "      <td>0.34</td>\n",
       "      <td>96835349</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>0.06</td>\n",
       "      <td>13.06</td>\n",
       "      <td>12.86</td>\n",
       "      <td>12.74</td>\n",
       "      <td>12.80</td>\n",
       "      <td>0.47</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-12</td>\n",
       "      <td>0.29</td>\n",
       "      <td>80469025</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>0.41</td>\n",
       "      <td>13.29</td>\n",
       "      <td>13.27</td>\n",
       "      <td>12.77</td>\n",
       "      <td>12.82</td>\n",
       "      <td>3.19</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-13</td>\n",
       "      <td>0.39</td>\n",
       "      <td>110219238</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>0.32</td>\n",
       "      <td>13.80</td>\n",
       "      <td>13.59</td>\n",
       "      <td>13.34</td>\n",
       "      <td>13.34</td>\n",
       "      <td>2.41</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-14</td>\n",
       "      <td>0.52</td>\n",
       "      <td>146865370</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>0.17</td>\n",
       "      <td>14.02</td>\n",
       "      <td>13.76</td>\n",
       "      <td>13.28</td>\n",
       "      <td>13.62</td>\n",
       "      <td>1.25</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2017-07-17</td>\n",
       "      <td>0.64</td>\n",
       "      <td>178661221</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>-0.12</td>\n",
       "      <td>11.77</td>\n",
       "      <td>11.66</td>\n",
       "      <td>11.65</td>\n",
       "      <td>11.71</td>\n",
       "      <td>-1.02</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-04-25</td>\n",
       "      <td>0.06</td>\n",
       "      <td>16082634</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>-0.09</td>\n",
       "      <td>11.78</td>\n",
       "      <td>11.57</td>\n",
       "      <td>11.55</td>\n",
       "      <td>11.73</td>\n",
       "      <td>-0.77</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-04-26</td>\n",
       "      <td>0.06</td>\n",
       "      <td>18205794</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>0.04</td>\n",
       "      <td>11.67</td>\n",
       "      <td>11.61</td>\n",
       "      <td>11.55</td>\n",
       "      <td>11.58</td>\n",
       "      <td>0.35</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-04-27</td>\n",
       "      <td>0.08</td>\n",
       "      <td>23450783</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>-0.58</td>\n",
       "      <td>11.33</td>\n",
       "      <td>11.03</td>\n",
       "      <td>10.97</td>\n",
       "      <td>11.33</td>\n",
       "      <td>-5.00</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-02</td>\n",
       "      <td>0.25</td>\n",
       "      <td>69325684</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>-0.11</td>\n",
       "      <td>11.01</td>\n",
       "      <td>10.92</td>\n",
       "      <td>10.83</td>\n",
       "      <td>10.99</td>\n",
       "      <td>-1.00</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-03</td>\n",
       "      <td>0.12</td>\n",
       "      <td>34665572</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>-0.09</td>\n",
       "      <td>10.94</td>\n",
       "      <td>10.83</td>\n",
       "      <td>10.80</td>\n",
       "      <td>10.91</td>\n",
       "      <td>-0.82</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-04</td>\n",
       "      <td>0.08</td>\n",
       "      <td>22253089</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>0.01</td>\n",
       "      <td>10.89</td>\n",
       "      <td>10.84</td>\n",
       "      <td>10.76</td>\n",
       "      <td>10.82</td>\n",
       "      <td>0.09</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-07</td>\n",
       "      <td>0.10</td>\n",
       "      <td>27425378</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>0.11</td>\n",
       "      <td>10.97</td>\n",
       "      <td>10.95</td>\n",
       "      <td>10.81</td>\n",
       "      <td>10.84</td>\n",
       "      <td>1.01</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-08</td>\n",
       "      <td>0.10</td>\n",
       "      <td>28796453</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>-0.02</td>\n",
       "      <td>11.00</td>\n",
       "      <td>10.93</td>\n",
       "      <td>10.89</td>\n",
       "      <td>10.95</td>\n",
       "      <td>-0.18</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-09</td>\n",
       "      <td>0.07</td>\n",
       "      <td>18510621</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>0.02</td>\n",
       "      <td>11.00</td>\n",
       "      <td>10.95</td>\n",
       "      <td>10.91</td>\n",
       "      <td>10.98</td>\n",
       "      <td>0.18</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-10</td>\n",
       "      <td>0.06</td>\n",
       "      <td>16030500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>0.00</td>\n",
       "      <td>11.01</td>\n",
       "      <td>10.95</td>\n",
       "      <td>10.94</td>\n",
       "      <td>11.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-11</td>\n",
       "      <td>0.08</td>\n",
       "      <td>22015135</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>0.05</td>\n",
       "      <td>11.05</td>\n",
       "      <td>11.00</td>\n",
       "      <td>10.96</td>\n",
       "      <td>10.97</td>\n",
       "      <td>0.46</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-14</td>\n",
       "      <td>0.08</td>\n",
       "      <td>23763310</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>11.05</td>\n",
       "      <td>10.99</td>\n",
       "      <td>10.88</td>\n",
       "      <td>11.03</td>\n",
       "      <td>-0.09</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-15</td>\n",
       "      <td>0.08</td>\n",
       "      <td>23548459</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>-0.12</td>\n",
       "      <td>10.96</td>\n",
       "      <td>10.87</td>\n",
       "      <td>10.86</td>\n",
       "      <td>10.93</td>\n",
       "      <td>-1.09</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-16</td>\n",
       "      <td>0.08</td>\n",
       "      <td>23580345</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>-0.04</td>\n",
       "      <td>10.91</td>\n",
       "      <td>10.83</td>\n",
       "      <td>10.81</td>\n",
       "      <td>10.86</td>\n",
       "      <td>-0.37</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-17</td>\n",
       "      <td>0.07</td>\n",
       "      <td>18474690</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>0.07</td>\n",
       "      <td>10.90</td>\n",
       "      <td>10.90</td>\n",
       "      <td>10.81</td>\n",
       "      <td>10.85</td>\n",
       "      <td>0.65</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-18</td>\n",
       "      <td>0.08</td>\n",
       "      <td>21717105</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>0.04</td>\n",
       "      <td>10.98</td>\n",
       "      <td>10.94</td>\n",
       "      <td>10.90</td>\n",
       "      <td>10.98</td>\n",
       "      <td>0.37</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-21</td>\n",
       "      <td>0.08</td>\n",
       "      <td>23393724</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>-0.06</td>\n",
       "      <td>10.95</td>\n",
       "      <td>10.88</td>\n",
       "      <td>10.85</td>\n",
       "      <td>10.94</td>\n",
       "      <td>-0.55</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-22</td>\n",
       "      <td>0.06</td>\n",
       "      <td>16014501</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>-0.08</td>\n",
       "      <td>10.89</td>\n",
       "      <td>10.80</td>\n",
       "      <td>10.79</td>\n",
       "      <td>10.88</td>\n",
       "      <td>-0.74</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-23</td>\n",
       "      <td>0.08</td>\n",
       "      <td>21194469</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>-0.01</td>\n",
       "      <td>10.84</td>\n",
       "      <td>10.79</td>\n",
       "      <td>10.76</td>\n",
       "      <td>10.83</td>\n",
       "      <td>-0.09</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-24</td>\n",
       "      <td>0.05</td>\n",
       "      <td>15229580</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>-0.08</td>\n",
       "      <td>10.83</td>\n",
       "      <td>10.71</td>\n",
       "      <td>10.68</td>\n",
       "      <td>10.83</td>\n",
       "      <td>-0.74</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-25</td>\n",
       "      <td>0.07</td>\n",
       "      <td>19016226</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>0.05</td>\n",
       "      <td>10.79</td>\n",
       "      <td>10.76</td>\n",
       "      <td>10.61</td>\n",
       "      <td>10.71</td>\n",
       "      <td>0.47</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-28</td>\n",
       "      <td>0.07</td>\n",
       "      <td>18370343</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>-0.12</td>\n",
       "      <td>10.74</td>\n",
       "      <td>10.64</td>\n",
       "      <td>10.61</td>\n",
       "      <td>10.70</td>\n",
       "      <td>-1.12</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-29</td>\n",
       "      <td>0.06</td>\n",
       "      <td>16933980</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>-0.20</td>\n",
       "      <td>10.60</td>\n",
       "      <td>10.44</td>\n",
       "      <td>10.39</td>\n",
       "      <td>10.56</td>\n",
       "      <td>-1.88</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-30</td>\n",
       "      <td>0.11</td>\n",
       "      <td>32230788</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>0.11</td>\n",
       "      <td>10.69</td>\n",
       "      <td>10.55</td>\n",
       "      <td>10.46</td>\n",
       "      <td>10.46</td>\n",
       "      <td>1.05</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-05-31</td>\n",
       "      <td>0.16</td>\n",
       "      <td>45532670</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>0.13</td>\n",
       "      <td>10.69</td>\n",
       "      <td>10.68</td>\n",
       "      <td>10.53</td>\n",
       "      <td>10.60</td>\n",
       "      <td>1.23</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-06-01</td>\n",
       "      <td>0.07</td>\n",
       "      <td>18365527</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>0.07</td>\n",
       "      <td>10.83</td>\n",
       "      <td>10.75</td>\n",
       "      <td>10.70</td>\n",
       "      <td>10.76</td>\n",
       "      <td>0.66</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-06-04</td>\n",
       "      <td>0.06</td>\n",
       "      <td>16180325</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>-0.09</td>\n",
       "      <td>10.75</td>\n",
       "      <td>10.66</td>\n",
       "      <td>10.61</td>\n",
       "      <td>10.71</td>\n",
       "      <td>-0.84</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-06-05</td>\n",
       "      <td>0.07</td>\n",
       "      <td>18692609</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>-0.11</td>\n",
       "      <td>10.64</td>\n",
       "      <td>10.55</td>\n",
       "      <td>10.53</td>\n",
       "      <td>10.64</td>\n",
       "      <td>-1.03</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-06-06</td>\n",
       "      <td>0.05</td>\n",
       "      <td>14983603</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>0.07</td>\n",
       "      <td>10.66</td>\n",
       "      <td>10.62</td>\n",
       "      <td>10.51</td>\n",
       "      <td>10.56</td>\n",
       "      <td>0.66</td>\n",
       "      <td>600000.SH</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>0.08</td>\n",
       "      <td>23355633</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>248 rows × 10 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    change   high   last    low   open  percent     symbol       time  \\\n",
       "0    -0.05  12.84  12.80  12.66  12.80    -0.39  600000.SH 2017-06-06   \n",
       "1     0.04  12.99  12.84  12.78  12.81     0.31  600000.SH 2017-06-07   \n",
       "2     0.00  12.86  12.84  12.67  12.76     0.00  600000.SH 2017-06-08   \n",
       "3     0.09  13.20  12.93  12.77  12.79     0.70  600000.SH 2017-06-09   \n",
       "4    -0.15  13.14  12.78  12.76  12.90    -1.16  600000.SH 2017-06-12   \n",
       "5    -0.19  12.78  12.59  12.56  12.78    -1.49  600000.SH 2017-06-13   \n",
       "6    -0.13  12.64  12.46  12.31  12.60    -1.03  600000.SH 2017-06-14   \n",
       "7    -0.08  12.46  12.38  12.28  12.41    -0.64  600000.SH 2017-06-15   \n",
       "8    -0.03  12.46  12.35  12.27  12.38    -0.24  600000.SH 2017-06-16   \n",
       "9     0.05  12.43  12.40  12.30  12.36     0.40  600000.SH 2017-06-19   \n",
       "10   -0.11  12.44  12.29  12.22  12.41    -0.89  600000.SH 2017-06-20   \n",
       "11    0.05  12.40  12.34  12.26  12.40     0.41  600000.SH 2017-06-21   \n",
       "12    0.23  12.84  12.57  12.29  12.33     1.86  600000.SH 2017-06-22   \n",
       "13    0.07  12.65  12.64  12.36  12.55     0.56  600000.SH 2017-06-23   \n",
       "14    0.00  12.82  12.64  12.55  12.64     0.00  600000.SH 2017-06-26   \n",
       "15    0.06  12.73  12.70  12.53  12.64     0.47  600000.SH 2017-06-27   \n",
       "16    0.09  12.91  12.79  12.60  12.66     0.71  600000.SH 2017-06-28   \n",
       "17   -0.03  12.86  12.76  12.70  12.81    -0.23  600000.SH 2017-06-29   \n",
       "18   -0.11  12.73  12.65  12.59  12.70    -0.86  600000.SH 2017-06-30   \n",
       "19   -0.09  12.65  12.56  12.47  12.64    -0.71  600000.SH 2017-07-03   \n",
       "20   -0.01  12.58  12.55  12.41  12.55    -0.08  600000.SH 2017-07-04   \n",
       "21    0.07  12.65  12.62  12.47  12.50     0.56  600000.SH 2017-07-05   \n",
       "22    0.04  12.72  12.66  12.51  12.62     0.32  600000.SH 2017-07-06   \n",
       "23   -0.06  12.69  12.60  12.55  12.62    -0.47  600000.SH 2017-07-07   \n",
       "24   -0.07  12.64  12.53  12.52  12.59    -0.56  600000.SH 2017-07-10   \n",
       "25    0.27  12.94  12.80  12.51  12.51     2.15  600000.SH 2017-07-11   \n",
       "26    0.06  13.06  12.86  12.74  12.80     0.47  600000.SH 2017-07-12   \n",
       "27    0.41  13.29  13.27  12.77  12.82     3.19  600000.SH 2017-07-13   \n",
       "28    0.32  13.80  13.59  13.34  13.34     2.41  600000.SH 2017-07-14   \n",
       "29    0.17  14.02  13.76  13.28  13.62     1.25  600000.SH 2017-07-17   \n",
       "..     ...    ...    ...    ...    ...      ...        ...        ...   \n",
       "15   -0.12  11.77  11.66  11.65  11.71    -1.02  600000.SH 2018-04-25   \n",
       "16   -0.09  11.78  11.57  11.55  11.73    -0.77  600000.SH 2018-04-26   \n",
       "17    0.04  11.67  11.61  11.55  11.58     0.35  600000.SH 2018-04-27   \n",
       "18   -0.58  11.33  11.03  10.97  11.33    -5.00  600000.SH 2018-05-02   \n",
       "19   -0.11  11.01  10.92  10.83  10.99    -1.00  600000.SH 2018-05-03   \n",
       "20   -0.09  10.94  10.83  10.80  10.91    -0.82  600000.SH 2018-05-04   \n",
       "21    0.01  10.89  10.84  10.76  10.82     0.09  600000.SH 2018-05-07   \n",
       "22    0.11  10.97  10.95  10.81  10.84     1.01  600000.SH 2018-05-08   \n",
       "23   -0.02  11.00  10.93  10.89  10.95    -0.18  600000.SH 2018-05-09   \n",
       "24    0.02  11.00  10.95  10.91  10.98     0.18  600000.SH 2018-05-10   \n",
       "25    0.00  11.01  10.95  10.94  11.00     0.00  600000.SH 2018-05-11   \n",
       "26    0.05  11.05  11.00  10.96  10.97     0.46  600000.SH 2018-05-14   \n",
       "27   -0.01  11.05  10.99  10.88  11.03    -0.09  600000.SH 2018-05-15   \n",
       "28   -0.12  10.96  10.87  10.86  10.93    -1.09  600000.SH 2018-05-16   \n",
       "29   -0.04  10.91  10.83  10.81  10.86    -0.37  600000.SH 2018-05-17   \n",
       "30    0.07  10.90  10.90  10.81  10.85     0.65  600000.SH 2018-05-18   \n",
       "31    0.04  10.98  10.94  10.90  10.98     0.37  600000.SH 2018-05-21   \n",
       "32   -0.06  10.95  10.88  10.85  10.94    -0.55  600000.SH 2018-05-22   \n",
       "33   -0.08  10.89  10.80  10.79  10.88    -0.74  600000.SH 2018-05-23   \n",
       "34   -0.01  10.84  10.79  10.76  10.83    -0.09  600000.SH 2018-05-24   \n",
       "35   -0.08  10.83  10.71  10.68  10.83    -0.74  600000.SH 2018-05-25   \n",
       "36    0.05  10.79  10.76  10.61  10.71     0.47  600000.SH 2018-05-28   \n",
       "37   -0.12  10.74  10.64  10.61  10.70    -1.12  600000.SH 2018-05-29   \n",
       "38   -0.20  10.60  10.44  10.39  10.56    -1.88  600000.SH 2018-05-30   \n",
       "39    0.11  10.69  10.55  10.46  10.46     1.05  600000.SH 2018-05-31   \n",
       "40    0.13  10.69  10.68  10.53  10.60     1.23  600000.SH 2018-06-01   \n",
       "41    0.07  10.83  10.75  10.70  10.76     0.66  600000.SH 2018-06-04   \n",
       "42   -0.09  10.75  10.66  10.61  10.71    -0.84  600000.SH 2018-06-05   \n",
       "43   -0.11  10.64  10.55  10.53  10.64    -1.03  600000.SH 2018-06-06   \n",
       "44    0.07  10.66  10.62  10.51  10.56     0.66  600000.SH 2018-06-07   \n",
       "\n",
       "    turnover_rate     volume  \n",
       "0            0.13   36104406  \n",
       "1            0.23   64395191  \n",
       "2            0.17   48194843  \n",
       "3            0.41  114434319  \n",
       "4            0.26   73931192  \n",
       "5            0.19   52716070  \n",
       "6            0.20   55306982  \n",
       "7            0.13   37492860  \n",
       "8            0.17   47351062  \n",
       "9            0.12   32941278  \n",
       "10           0.16   44645196  \n",
       "11           0.12   34000062  \n",
       "12           0.39  110259441  \n",
       "13           0.24   68579079  \n",
       "14           0.22   60509162  \n",
       "15           0.17   46687475  \n",
       "16           0.27   75349557  \n",
       "17           0.14   38994542  \n",
       "18           0.13   36566479  \n",
       "19           0.14   38778949  \n",
       "20           0.13   36659128  \n",
       "21           0.09   26470507  \n",
       "22           0.13   37414241  \n",
       "23           0.09   24667294  \n",
       "24           0.09   26411530  \n",
       "25           0.34   96835349  \n",
       "26           0.29   80469025  \n",
       "27           0.39  110219238  \n",
       "28           0.52  146865370  \n",
       "29           0.64  178661221  \n",
       "..            ...        ...  \n",
       "15           0.06   16082634  \n",
       "16           0.06   18205794  \n",
       "17           0.08   23450783  \n",
       "18           0.25   69325684  \n",
       "19           0.12   34665572  \n",
       "20           0.08   22253089  \n",
       "21           0.10   27425378  \n",
       "22           0.10   28796453  \n",
       "23           0.07   18510621  \n",
       "24           0.06   16030500  \n",
       "25           0.08   22015135  \n",
       "26           0.08   23763310  \n",
       "27           0.08   23548459  \n",
       "28           0.08   23580345  \n",
       "29           0.07   18474690  \n",
       "30           0.08   21717105  \n",
       "31           0.08   23393724  \n",
       "32           0.06   16014501  \n",
       "33           0.08   21194469  \n",
       "34           0.05   15229580  \n",
       "35           0.07   19016226  \n",
       "36           0.07   18370343  \n",
       "37           0.06   16933980  \n",
       "38           0.11   32230788  \n",
       "39           0.16   45532670  \n",
       "40           0.07   18365527  \n",
       "41           0.06   16180325  \n",
       "42           0.07   18692609  \n",
       "43           0.05   14983603  \n",
       "44           0.08   23355633  \n",
       "\n",
       "[248 rows x 10 columns]"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取日线\n",
    "df, msg = stock.get_daily('600000.SH', start_date='2017-06-06', end_date='2018-06-07')\n",
    "df\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "getting data for year = 2018, quarter = 2\n",
      "getting data for year = 2018, quarter = 1\n",
      "getting data for year = 2017, quarter = 4\n",
      "getting data for year = 2017, quarter = 3\n",
      "getting data for year = 2017, quarter = 2\n",
      "getting data for year = 2017, quarter = 1\n",
      "getting data for year = 2016, quarter = 4\n",
      "getting data for year = 2016, quarter = 3\n",
      "getting data for year = 2016, quarter = 2\n",
      "getting data for year = 2016, quarter = 1\n",
      "getting data for year = 2015, quarter = 4\n",
      "getting data for year = 2015, quarter = 3\n",
      "getting data for year = 2015, quarter = 2\n",
      "getting data for year = 2015, quarter = 1\n",
      "getting data for year = 2014, quarter = 4\n",
      "getting data for year = 2014, quarter = 3\n",
      "getting data for year = 2014, quarter = 2\n",
      "getting data for year = 2014, quarter = 1\n",
      "getting data for year = 2013, quarter = 4\n",
      "getting data for year = 2013, quarter = 3\n",
      "getting data for year = 2013, quarter = 2\n",
      "getting data for year = 2013, quarter = 1\n",
      "getting data for year = 2012, quarter = 4\n",
      "getting data for year = 2012, quarter = 3\n",
      "getting data for year = 2012, quarter = 2\n",
      "getting data for year = 2012, quarter = 1\n",
      "getting data for year = 2011, quarter = 4\n",
      "getting data for year = 2011, quarter = 3\n",
      "getting data for year = 2011, quarter = 2\n",
      "getting data for year = 2011, quarter = 1\n",
      "getting data for year = 2010, quarter = 4\n",
      "getting data for year = 2010, quarter = 3\n",
      "getting data for year = 2010, quarter = 2\n",
      "getting data for year = 2010, quarter = 1\n",
      "getting data for year = 2009, quarter = 4\n",
      "getting data for year = 2009, quarter = 3\n",
      "getting data for year = 2009, quarter = 2\n",
      "getting data for year = 2009, quarter = 1\n",
      "getting data for year = 2008, quarter = 4\n",
      "getting data for year = 2008, quarter = 3\n",
      "getting data for year = 2008, quarter = 2\n",
      "getting data for year = 2008, quarter = 1\n",
      "getting data for year = 2007, quarter = 4\n",
      "getting data for year = 2007, quarter = 3\n",
      "getting data for year = 2007, quarter = 2\n",
      "getting data for year = 2007, quarter = 1\n",
      "getting data for year = 2006, quarter = 4\n",
      "getting data for year = 2006, quarter = 3\n",
      "getting data for year = 2006, quarter = 2\n",
      "getting data for year = 2006, quarter = 1\n",
      "getting data for year = 2005, quarter = 4\n",
      "getting data for year = 2005, quarter = 3\n",
      "getting data for year = 2005, quarter = 2\n",
      "getting data for year = 2005, quarter = 1\n",
      "getting data for year = 2004, quarter = 4\n",
      "getting data for year = 2004, quarter = 3\n",
      "getting data for year = 2004, quarter = 2\n",
      "getting data for year = 2004, quarter = 1\n",
      "getting data for year = 2003, quarter = 4\n",
      "getting data for year = 2003, quarter = 3\n",
      "getting data for year = 2003, quarter = 2\n",
      "getting data for year = 2003, quarter = 1\n",
      "getting data for year = 2002, quarter = 4\n",
      "getting data for year = 2002, quarter = 3\n",
      "getting data for year = 2002, quarter = 2\n",
      "getting data for year = 2002, quarter = 1\n",
      "getting data for year = 2001, quarter = 4\n",
      "getting data for year = 2001, quarter = 3\n",
      "getting data for year = 2001, quarter = 2\n",
      "getting data for year = 2001, quarter = 1\n",
      "getting data for year = 2000, quarter = 4\n",
      "getting data for year = 2000, quarter = 3\n",
      "getting data for year = 2000, quarter = 2\n",
      "getting data for year = 2000, quarter = 1\n",
      "getting data for year = 1999, quarter = 4\n",
      "getting data for year = 1999, quarter = 3\n",
      "getting data for year = 1999, quarter = 2\n",
      "getting data for year = 1999, quarter = 1\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>adjust_factor</th>\n",
       "      <th>date</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-31</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4352</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4353</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4354</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4355</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4356</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4357</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4358</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4359</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4360</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4361</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4362</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4363</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4364</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4365</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4366</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4367</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4368</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4369</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4370</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4371</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4372</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4373</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4374</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4375</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4376</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4377</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4378</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4379</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4380</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4381</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-10</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>4382 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     adjust_factor        date\n",
       "0           12.362  2018-06-14\n",
       "1           12.362  2018-06-13\n",
       "2           12.362  2018-06-12\n",
       "3           12.362  2018-06-11\n",
       "4           12.362  2018-06-08\n",
       "5           12.362  2018-06-07\n",
       "6           12.362  2018-06-06\n",
       "7           12.362  2018-06-05\n",
       "8           12.362  2018-06-04\n",
       "9           12.362  2018-06-01\n",
       "10          12.362  2018-05-31\n",
       "11          12.362  2018-05-30\n",
       "12          12.362  2018-05-29\n",
       "13          12.362  2018-05-28\n",
       "14          12.362  2018-05-25\n",
       "15          12.362  2018-05-24\n",
       "16          12.362  2018-05-23\n",
       "17          12.362  2018-05-22\n",
       "18          12.362  2018-05-21\n",
       "19          12.362  2018-05-18\n",
       "20          12.362  2018-05-17\n",
       "21          12.362  2018-05-16\n",
       "22          12.362  2018-05-15\n",
       "23          12.362  2018-05-14\n",
       "24          12.362  2018-05-11\n",
       "25          12.362  2018-05-10\n",
       "26          12.362  2018-05-09\n",
       "27          12.362  2018-05-08\n",
       "28          12.362  2018-05-07\n",
       "29          12.362  2018-05-04\n",
       "...            ...         ...\n",
       "4352         1.000  1999-12-22\n",
       "4353         1.000  1999-12-21\n",
       "4354         1.000  1999-12-17\n",
       "4355         1.000  1999-12-16\n",
       "4356         1.000  1999-12-15\n",
       "4357         1.000  1999-12-14\n",
       "4358         1.000  1999-12-13\n",
       "4359         1.000  1999-12-10\n",
       "4360         1.000  1999-12-09\n",
       "4361         1.000  1999-12-08\n",
       "4362         1.000  1999-12-07\n",
       "4363         1.000  1999-12-06\n",
       "4364         1.000  1999-12-03\n",
       "4365         1.000  1999-12-02\n",
       "4366         1.000  1999-12-01\n",
       "4367         1.000  1999-11-30\n",
       "4368         1.000  1999-11-29\n",
       "4369         1.000  1999-11-26\n",
       "4370         1.000  1999-11-25\n",
       "4371         1.000  1999-11-24\n",
       "4372         1.000  1999-11-23\n",
       "4373         1.000  1999-11-22\n",
       "4374         1.000  1999-11-19\n",
       "4375         1.000  1999-11-18\n",
       "4376         1.000  1999-11-17\n",
       "4377         1.000  1999-11-16\n",
       "4378         1.000  1999-11-15\n",
       "4379         1.000  1999-11-12\n",
       "4380         1.000  1999-11-11\n",
       "4381         1.000  1999-11-10\n",
       "\n",
       "[4382 rows x 2 columns]"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取复权因子数据\n",
    "df, msg = stock.get_adj_factor('600000.SH')\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>adjust_factor</th>\n",
       "      <th>date</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-31</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>12.362</td>\n",
       "      <td>2018-05-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4352</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4353</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4354</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4355</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4356</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4357</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4358</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4359</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4360</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4361</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4362</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4363</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4364</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4365</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4366</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-12-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4367</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4368</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4369</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4370</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4371</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4372</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4373</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4374</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-19</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4375</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4376</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4377</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4378</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4379</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4380</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4381</th>\n",
       "      <td>1.000</td>\n",
       "      <td>1999-11-10</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>4382 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     adjust_factor        date\n",
       "0           12.362  2018-06-14\n",
       "1           12.362  2018-06-13\n",
       "2           12.362  2018-06-12\n",
       "3           12.362  2018-06-11\n",
       "4           12.362  2018-06-08\n",
       "5           12.362  2018-06-07\n",
       "6           12.362  2018-06-06\n",
       "7           12.362  2018-06-05\n",
       "8           12.362  2018-06-04\n",
       "9           12.362  2018-06-01\n",
       "10          12.362  2018-05-31\n",
       "11          12.362  2018-05-30\n",
       "12          12.362  2018-05-29\n",
       "13          12.362  2018-05-28\n",
       "14          12.362  2018-05-25\n",
       "15          12.362  2018-05-24\n",
       "16          12.362  2018-05-23\n",
       "17          12.362  2018-05-22\n",
       "18          12.362  2018-05-21\n",
       "19          12.362  2018-05-18\n",
       "20          12.362  2018-05-17\n",
       "21          12.362  2018-05-16\n",
       "22          12.362  2018-05-15\n",
       "23          12.362  2018-05-14\n",
       "24          12.362  2018-05-11\n",
       "25          12.362  2018-05-10\n",
       "26          12.362  2018-05-09\n",
       "27          12.362  2018-05-08\n",
       "28          12.362  2018-05-07\n",
       "29          12.362  2018-05-04\n",
       "...            ...         ...\n",
       "4352         1.000  1999-12-22\n",
       "4353         1.000  1999-12-21\n",
       "4354         1.000  1999-12-17\n",
       "4355         1.000  1999-12-16\n",
       "4356         1.000  1999-12-15\n",
       "4357         1.000  1999-12-14\n",
       "4358         1.000  1999-12-13\n",
       "4359         1.000  1999-12-10\n",
       "4360         1.000  1999-12-09\n",
       "4361         1.000  1999-12-08\n",
       "4362         1.000  1999-12-07\n",
       "4363         1.000  1999-12-06\n",
       "4364         1.000  1999-12-03\n",
       "4365         1.000  1999-12-02\n",
       "4366         1.000  1999-12-01\n",
       "4367         1.000  1999-11-30\n",
       "4368         1.000  1999-11-29\n",
       "4369         1.000  1999-11-26\n",
       "4370         1.000  1999-11-25\n",
       "4371         1.000  1999-11-24\n",
       "4372         1.000  1999-11-23\n",
       "4373         1.000  1999-11-22\n",
       "4374         1.000  1999-11-19\n",
       "4375         1.000  1999-11-18\n",
       "4376         1.000  1999-11-17\n",
       "4377         1.000  1999-11-16\n",
       "4378         1.000  1999-11-15\n",
       "4379         1.000  1999-11-12\n",
       "4380         1.000  1999-11-11\n",
       "4381         1.000  1999-11-10\n",
       "\n",
       "[4382 rows x 2 columns]"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>bs</th>\n",
       "      <th>change</th>\n",
       "      <th>price</th>\n",
       "      <th>time</th>\n",
       "      <th>turnover</th>\n",
       "      <th>volume</th>\n",
       "      <th>date</th>\n",
       "      <th>symbol</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>中性盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.62</td>\n",
       "      <td>15:00:00</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>中性盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.62</td>\n",
       "      <td>15:00:00</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:58</td>\n",
       "      <td>167107</td>\n",
       "      <td>157</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:55</td>\n",
       "      <td>314056</td>\n",
       "      <td>296</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:52</td>\n",
       "      <td>174004</td>\n",
       "      <td>164</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:49</td>\n",
       "      <td>51989</td>\n",
       "      <td>49</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.02</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:46</td>\n",
       "      <td>183553</td>\n",
       "      <td>173</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.02</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:59:43</td>\n",
       "      <td>531500</td>\n",
       "      <td>500</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:40</td>\n",
       "      <td>62970</td>\n",
       "      <td>59</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:37</td>\n",
       "      <td>105039</td>\n",
       "      <td>99</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:34</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.01</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:31</td>\n",
       "      <td>29156</td>\n",
       "      <td>27</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.01</td>\n",
       "      <td>10.62</td>\n",
       "      <td>14:59:28</td>\n",
       "      <td>112571</td>\n",
       "      <td>106</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:59:25</td>\n",
       "      <td>231734</td>\n",
       "      <td>218</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.62</td>\n",
       "      <td>14:59:22</td>\n",
       "      <td>84960</td>\n",
       "      <td>80</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:19</td>\n",
       "      <td>97612</td>\n",
       "      <td>92</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.02</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:59:16</td>\n",
       "      <td>101856</td>\n",
       "      <td>96</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:59:13</td>\n",
       "      <td>124371</td>\n",
       "      <td>117</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:59:10</td>\n",
       "      <td>61654</td>\n",
       "      <td>58</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:59:07</td>\n",
       "      <td>38268</td>\n",
       "      <td>36</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:59:04</td>\n",
       "      <td>100985</td>\n",
       "      <td>95</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.01</td>\n",
       "      <td>10.62</td>\n",
       "      <td>14:59:01</td>\n",
       "      <td>28673</td>\n",
       "      <td>27</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:58:58</td>\n",
       "      <td>71221</td>\n",
       "      <td>67</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.01</td>\n",
       "      <td>10.62</td>\n",
       "      <td>14:58:55</td>\n",
       "      <td>36108</td>\n",
       "      <td>34</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:58:52</td>\n",
       "      <td>40394</td>\n",
       "      <td>38</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.02</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:58:49</td>\n",
       "      <td>17008</td>\n",
       "      <td>16</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.02</td>\n",
       "      <td>10.61</td>\n",
       "      <td>14:58:46</td>\n",
       "      <td>51989</td>\n",
       "      <td>49</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.63</td>\n",
       "      <td>14:58:43</td>\n",
       "      <td>94607</td>\n",
       "      <td>89</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.62</td>\n",
       "      <td>14:58:40</td>\n",
       "      <td>271510</td>\n",
       "      <td>255</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.62</td>\n",
       "      <td>14:58:37</td>\n",
       "      <td>15929</td>\n",
       "      <td>15</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3559</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:31:34</td>\n",
       "      <td>270592</td>\n",
       "      <td>256</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3560</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.56</td>\n",
       "      <td>09:31:31</td>\n",
       "      <td>49632</td>\n",
       "      <td>47</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3561</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.02</td>\n",
       "      <td>10.56</td>\n",
       "      <td>09:31:28</td>\n",
       "      <td>256608</td>\n",
       "      <td>243</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3562</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.58</td>\n",
       "      <td>09:31:25</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3563</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.02</td>\n",
       "      <td>10.58</td>\n",
       "      <td>09:31:19</td>\n",
       "      <td>80408</td>\n",
       "      <td>76</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3564</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.01</td>\n",
       "      <td>10.56</td>\n",
       "      <td>09:31:16</td>\n",
       "      <td>405504</td>\n",
       "      <td>384</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3565</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:31:13</td>\n",
       "      <td>64477</td>\n",
       "      <td>61</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3566</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:31:10</td>\n",
       "      <td>75047</td>\n",
       "      <td>71</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3567</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.02</td>\n",
       "      <td>10.56</td>\n",
       "      <td>09:31:07</td>\n",
       "      <td>19008</td>\n",
       "      <td>18</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3568</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.02</td>\n",
       "      <td>10.58</td>\n",
       "      <td>09:31:04</td>\n",
       "      <td>539580</td>\n",
       "      <td>510</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3569</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.01</td>\n",
       "      <td>10.56</td>\n",
       "      <td>09:31:01</td>\n",
       "      <td>47520</td>\n",
       "      <td>45</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3570</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:58</td>\n",
       "      <td>5285</td>\n",
       "      <td>5</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3571</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:55</td>\n",
       "      <td>28539</td>\n",
       "      <td>27</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3572</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:52</td>\n",
       "      <td>6342</td>\n",
       "      <td>6</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3573</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:49</td>\n",
       "      <td>159036</td>\n",
       "      <td>150</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3574</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:43</td>\n",
       "      <td>264</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3575</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:37</td>\n",
       "      <td>6342</td>\n",
       "      <td>6</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3576</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:34</td>\n",
       "      <td>300188</td>\n",
       "      <td>284</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3577</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:31</td>\n",
       "      <td>26425</td>\n",
       "      <td>25</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3578</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:25</td>\n",
       "      <td>34881</td>\n",
       "      <td>33</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3579</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:22</td>\n",
       "      <td>10570</td>\n",
       "      <td>10</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3580</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.01</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:19</td>\n",
       "      <td>82446</td>\n",
       "      <td>78</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3581</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.58</td>\n",
       "      <td>09:30:16</td>\n",
       "      <td>2116</td>\n",
       "      <td>2</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3582</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>-0.01</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:13</td>\n",
       "      <td>283582</td>\n",
       "      <td>268</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3583</th>\n",
       "      <td>买盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.58</td>\n",
       "      <td>09:30:10</td>\n",
       "      <td>356546</td>\n",
       "      <td>337</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3584</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.58</td>\n",
       "      <td>09:30:07</td>\n",
       "      <td>316342</td>\n",
       "      <td>299</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3585</th>\n",
       "      <td>买盘</td>\n",
       "      <td>0.01</td>\n",
       "      <td>10.57</td>\n",
       "      <td>09:30:04</td>\n",
       "      <td>302745</td>\n",
       "      <td>286</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3586</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.56</td>\n",
       "      <td>09:30:01</td>\n",
       "      <td>105600</td>\n",
       "      <td>100</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3587</th>\n",
       "      <td>卖盘</td>\n",
       "      <td>--</td>\n",
       "      <td>10.56</td>\n",
       "      <td>09:29:00</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3588</th>\n",
       "      <td>买盘</td>\n",
       "      <td>10.56</td>\n",
       "      <td>10.56</td>\n",
       "      <td>09:25:01</td>\n",
       "      <td>2716274</td>\n",
       "      <td>2572</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>600000.SH</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>3589 rows × 8 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       bs change  price      time turnover volume        date     symbol\n",
       "0     中性盘     --  10.62  15:00:00        0      0  2018-06-07  600000.SH\n",
       "1     中性盘   0.01  10.62  15:00:00        0      0  2018-06-07  600000.SH\n",
       "2      卖盘     --  10.61  14:59:58   167107    157  2018-06-07  600000.SH\n",
       "3      卖盘     --  10.61  14:59:55   314056    296  2018-06-07  600000.SH\n",
       "4      卖盘     --  10.61  14:59:52   174004    164  2018-06-07  600000.SH\n",
       "5      卖盘     --  10.61  14:59:49    51989     49  2018-06-07  600000.SH\n",
       "6      卖盘  -0.02  10.61  14:59:46   183553    173  2018-06-07  600000.SH\n",
       "7      买盘   0.02  10.63  14:59:43   531500    500  2018-06-07  600000.SH\n",
       "8      卖盘     --  10.61  14:59:40    62970     59  2018-06-07  600000.SH\n",
       "9      卖盘     --  10.61  14:59:37   105039     99  2018-06-07  600000.SH\n",
       "10     卖盘     --  10.61  14:59:34        0      0  2018-06-07  600000.SH\n",
       "11     卖盘  -0.01  10.61  14:59:31    29156     27  2018-06-07  600000.SH\n",
       "12     卖盘  -0.01  10.62  14:59:28   112571    106  2018-06-07  600000.SH\n",
       "13     买盘   0.01  10.63  14:59:25   231734    218  2018-06-07  600000.SH\n",
       "14     买盘   0.01  10.62  14:59:22    84960     80  2018-06-07  600000.SH\n",
       "15     卖盘     --  10.61  14:59:19    97612     92  2018-06-07  600000.SH\n",
       "16     卖盘  -0.02  10.61  14:59:16   101856     96  2018-06-07  600000.SH\n",
       "17     买盘     --  10.63  14:59:13   124371    117  2018-06-07  600000.SH\n",
       "18     买盘     --  10.63  14:59:10    61654     58  2018-06-07  600000.SH\n",
       "19     买盘     --  10.63  14:59:07    38268     36  2018-06-07  600000.SH\n",
       "20     买盘   0.01  10.63  14:59:04   100985     95  2018-06-07  600000.SH\n",
       "21     卖盘  -0.01  10.62  14:59:01    28673     27  2018-06-07  600000.SH\n",
       "22     买盘   0.01  10.63  14:58:58    71221     67  2018-06-07  600000.SH\n",
       "23     卖盘  -0.01  10.62  14:58:55    36108     34  2018-06-07  600000.SH\n",
       "24     买盘     --  10.63  14:58:52    40394     38  2018-06-07  600000.SH\n",
       "25     买盘   0.02  10.63  14:58:49    17008     16  2018-06-07  600000.SH\n",
       "26     卖盘  -0.02  10.61  14:58:46    51989     49  2018-06-07  600000.SH\n",
       "27     买盘   0.01  10.63  14:58:43    94607     89  2018-06-07  600000.SH\n",
       "28     卖盘     --  10.62  14:58:40   271510    255  2018-06-07  600000.SH\n",
       "29     卖盘     --  10.62  14:58:37    15929     15  2018-06-07  600000.SH\n",
       "...   ...    ...    ...       ...      ...    ...         ...        ...\n",
       "3559   买盘   0.01  10.57  09:31:34   270592    256  2018-06-07  600000.SH\n",
       "3560   卖盘     --  10.56  09:31:31    49632     47  2018-06-07  600000.SH\n",
       "3561   卖盘  -0.02  10.56  09:31:28   256608    243  2018-06-07  600000.SH\n",
       "3562   买盘     --  10.58  09:31:25        0      0  2018-06-07  600000.SH\n",
       "3563   买盘   0.02  10.58  09:31:19    80408     76  2018-06-07  600000.SH\n",
       "3564   卖盘  -0.01  10.56  09:31:16   405504    384  2018-06-07  600000.SH\n",
       "3565   买盘     --  10.57  09:31:13    64477     61  2018-06-07  600000.SH\n",
       "3566   卖盘   0.01  10.57  09:31:10    75047     71  2018-06-07  600000.SH\n",
       "3567   卖盘  -0.02  10.56  09:31:07    19008     18  2018-06-07  600000.SH\n",
       "3568   买盘   0.02  10.58  09:31:04   539580    510  2018-06-07  600000.SH\n",
       "3569   卖盘  -0.01  10.56  09:31:01    47520     45  2018-06-07  600000.SH\n",
       "3570   买盘     --  10.57  09:30:58     5285      5  2018-06-07  600000.SH\n",
       "3571   买盘     --  10.57  09:30:55    28539     27  2018-06-07  600000.SH\n",
       "3572   买盘     --  10.57  09:30:52     6342      6  2018-06-07  600000.SH\n",
       "3573   卖盘     --  10.57  09:30:49   159036    150  2018-06-07  600000.SH\n",
       "3574   卖盘     --  10.57  09:30:43      264      0  2018-06-07  600000.SH\n",
       "3575   卖盘     --  10.57  09:30:37     6342      6  2018-06-07  600000.SH\n",
       "3576   卖盘     --  10.57  09:30:34   300188    284  2018-06-07  600000.SH\n",
       "3577   卖盘     --  10.57  09:30:31    26425     25  2018-06-07  600000.SH\n",
       "3578   卖盘     --  10.57  09:30:25    34881     33  2018-06-07  600000.SH\n",
       "3579   卖盘     --  10.57  09:30:22    10570     10  2018-06-07  600000.SH\n",
       "3580   卖盘  -0.01  10.57  09:30:19    82446     78  2018-06-07  600000.SH\n",
       "3581   卖盘   0.01  10.58  09:30:16     2116      2  2018-06-07  600000.SH\n",
       "3582   卖盘  -0.01  10.57  09:30:13   283582    268  2018-06-07  600000.SH\n",
       "3583   买盘     --  10.58  09:30:10   356546    337  2018-06-07  600000.SH\n",
       "3584   买盘   0.01  10.58  09:30:07   316342    299  2018-06-07  600000.SH\n",
       "3585   买盘   0.01  10.57  09:30:04   302745    286  2018-06-07  600000.SH\n",
       "3586   卖盘     --  10.56  09:30:01   105600    100  2018-06-07  600000.SH\n",
       "3587   卖盘     --  10.56  09:29:00        0      0  2018-06-07  600000.SH\n",
       "3588   买盘  10.56  10.56  09:25:01  2716274   2572  2018-06-07  600000.SH\n",
       "\n",
       "[3589 rows x 8 columns]"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取成交明细数据\n",
    "df, msg = stock.get_trade_detail('600000.SH', trade_date='2018-06-07')\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>handbookEnUrl</th>\n",
       "      <th>handbookUrl</th>\n",
       "      <th>ifIndexCode</th>\n",
       "      <th>indexBaseDay</th>\n",
       "      <th>indexBasePoint</th>\n",
       "      <th>indexCode</th>\n",
       "      <th>indexDataSourceType</th>\n",
       "      <th>indexFullName</th>\n",
       "      <th>indexFullNameEn</th>\n",
       "      <th>indexName</th>\n",
       "      <th>...</th>\n",
       "      <th>netReturnIntroEn</th>\n",
       "      <th>numOfStockes</th>\n",
       "      <th>tIndexCode</th>\n",
       "      <th>tIndexFullName</th>\n",
       "      <th>tIndexFullNameEn</th>\n",
       "      <th>tIndexName</th>\n",
       "      <th>tIndexNameEn</th>\n",
       "      <th>totalReturnIntro</th>\n",
       "      <th>totalReturnIntroEn</th>\n",
       "      <th>updateTime</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000001</td>\n",
       "      <td>1990-12-19</td>\n",
       "      <td>100.00</td>\n",
       "      <td>000001</td>\n",
       "      <td>1</td>\n",
       "      <td>上证综合指数</td>\n",
       "      <td>SSE Composite Index</td>\n",
       "      <td>上证指数</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>1464</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000002</td>\n",
       "      <td>1990-12-19</td>\n",
       "      <td>100.00</td>\n",
       "      <td>000002</td>\n",
       "      <td>1</td>\n",
       "      <td>上证A股指数</td>\n",
       "      <td>SSE A Share Index</td>\n",
       "      <td>Ａ股指数</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>1414</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000003</td>\n",
       "      <td>1992-02-21</td>\n",
       "      <td>100.00</td>\n",
       "      <td>000003</td>\n",
       "      <td>1</td>\n",
       "      <td>上证B股指数</td>\n",
       "      <td>SSE B Share Index</td>\n",
       "      <td>Ｂ股指数</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>50</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000009</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000009</td>\n",
       "      <td>1</td>\n",
       "      <td>上证380指数</td>\n",
       "      <td>SSE 380 Index</td>\n",
       "      <td>上证380</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>380</td>\n",
       "      <td>H00009</td>\n",
       "      <td>上证380全收益指数</td>\n",
       "      <td>SSE 380 Total Return Index</td>\n",
       "      <td>上证380全收益</td>\n",
       "      <td>SSE 380 TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000010</td>\n",
       "      <td>2002-06-28</td>\n",
       "      <td>3299.06</td>\n",
       "      <td>000010</td>\n",
       "      <td>1</td>\n",
       "      <td>上证180指数</td>\n",
       "      <td>SSE 180 Index</td>\n",
       "      <td>上证180</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>180</td>\n",
       "      <td>H00010</td>\n",
       "      <td>上证180全收益指数</td>\n",
       "      <td>SSE 180 Total Return Index</td>\n",
       "      <td>180收益</td>\n",
       "      <td>SSE 180 TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000016</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000016</td>\n",
       "      <td>1</td>\n",
       "      <td>上证50指数</td>\n",
       "      <td>SSE 50 Index</td>\n",
       "      <td>上证50</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>50</td>\n",
       "      <td>H00016</td>\n",
       "      <td>上证50全收益指数</td>\n",
       "      <td>SSE 50 Total Return Index</td>\n",
       "      <td>50收益</td>\n",
       "      <td>SSE 50 TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000017</td>\n",
       "      <td>2005-12-30</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000017</td>\n",
       "      <td>1</td>\n",
       "      <td>新上证综指</td>\n",
       "      <td>New SSE Index</td>\n",
       "      <td>新综指</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>1412</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000020</td>\n",
       "      <td>2007-12-28</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000020</td>\n",
       "      <td>1</td>\n",
       "      <td>上证中型企业综合指数</td>\n",
       "      <td>SSE Medium Composite Index</td>\n",
       "      <td>中型综指</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>465</td>\n",
       "      <td>H00020</td>\n",
       "      <td>上证中型企业综合全收益指数</td>\n",
       "      <td>SSE Medium Composite Total Return Index</td>\n",
       "      <td>中企收益</td>\n",
       "      <td>SSE Medium Composite TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000043</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000043</td>\n",
       "      <td>1</td>\n",
       "      <td>上证超级大盘指数</td>\n",
       "      <td>SSE Mega-cap Index</td>\n",
       "      <td>超大盘</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>20</td>\n",
       "      <td>H00043</td>\n",
       "      <td>上证超级大盘全收益指数</td>\n",
       "      <td>SSE Mega-cap Total Return Index</td>\n",
       "      <td>超大收</td>\n",
       "      <td>SSE Mega-cap TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000044</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000044</td>\n",
       "      <td>1</td>\n",
       "      <td>上证中盘指数</td>\n",
       "      <td>SSE MID CAP Index</td>\n",
       "      <td>上证中盘</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>130</td>\n",
       "      <td>H00044</td>\n",
       "      <td>上证中盘全收益指数</td>\n",
       "      <td>SSE MID CAP Total Return Index</td>\n",
       "      <td>上证中收</td>\n",
       "      <td>SSE MID CAP TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000045</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000045</td>\n",
       "      <td>1</td>\n",
       "      <td>上证小盘指数</td>\n",
       "      <td>SSE SMALL CAP Index</td>\n",
       "      <td>上证小盘</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>320</td>\n",
       "      <td>H00045</td>\n",
       "      <td>上证小盘全收益指数</td>\n",
       "      <td>SSE SMALL CAP Total Return Index</td>\n",
       "      <td>上证小收</td>\n",
       "      <td>SSE SMALL CAP TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000046</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000046</td>\n",
       "      <td>1</td>\n",
       "      <td>上证中小盘指数</td>\n",
       "      <td>SSE MID&amp;SMALL CAP Index</td>\n",
       "      <td>上证中小</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>450</td>\n",
       "      <td>H00046</td>\n",
       "      <td>上证中小盘全收益指数</td>\n",
       "      <td>SSE MID&amp;SMALL CAP Total Return Index</td>\n",
       "      <td>上中小收</td>\n",
       "      <td>SSE MID&amp;SMALL CAP TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000047</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000047</td>\n",
       "      <td>1</td>\n",
       "      <td>上证大中小盘指数</td>\n",
       "      <td>SSE TOTAL MARKET Index</td>\n",
       "      <td>上证全指</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>500</td>\n",
       "      <td>H00047</td>\n",
       "      <td>上证大中小盘全收益指数</td>\n",
       "      <td>SSE TOTAL MARKET Total Return Index</td>\n",
       "      <td>上证全收</td>\n",
       "      <td>SSE TOTAL MARKET TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000090</td>\n",
       "      <td>2009-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000090</td>\n",
       "      <td>1</td>\n",
       "      <td>上证流通指数</td>\n",
       "      <td>SSE Free Float Index</td>\n",
       "      <td>上证流通</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>1412</td>\n",
       "      <td>H00090</td>\n",
       "      <td>上证流通全收益指数</td>\n",
       "      <td>SSE Free Float Total Return Index</td>\n",
       "      <td>上证流通全收益</td>\n",
       "      <td>SSE Free Float TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000132</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000132</td>\n",
       "      <td>1</td>\n",
       "      <td>上证100指数</td>\n",
       "      <td>SSE 100 Index</td>\n",
       "      <td>上证100</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>100</td>\n",
       "      <td>H00132</td>\n",
       "      <td>上证100全收益指数</td>\n",
       "      <td>SSE 100 Total Return Index</td>\n",
       "      <td>上证100全收益</td>\n",
       "      <td>SSE 100 TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000133</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000133</td>\n",
       "      <td>1</td>\n",
       "      <td>上证150指数</td>\n",
       "      <td>SSE 150 Index</td>\n",
       "      <td>上证150</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>150</td>\n",
       "      <td>H00133</td>\n",
       "      <td>上证150全收益指数</td>\n",
       "      <td>SSE 150 Total Return Index</td>\n",
       "      <td>上证150全收益</td>\n",
       "      <td>SSE 150 TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000155</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000155</td>\n",
       "      <td>1</td>\n",
       "      <td>上证市值百强指数</td>\n",
       "      <td>SSE Market Value Top 100 Index</td>\n",
       "      <td>市值百强</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>100</td>\n",
       "      <td>H00155</td>\n",
       "      <td>上证市值百强全收益指数</td>\n",
       "      <td>SSE Market Value Top 100 Total Return Index</td>\n",
       "      <td>市值百强全收益</td>\n",
       "      <td>Market Value Top 100 TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000004</td>\n",
       "      <td>1993-04-30</td>\n",
       "      <td>1358.78</td>\n",
       "      <td>000004</td>\n",
       "      <td>1</td>\n",
       "      <td>上证工业指数</td>\n",
       "      <td>SSE Industrial Index</td>\n",
       "      <td>工业指数</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>968</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000005</td>\n",
       "      <td>1993-04-30</td>\n",
       "      <td>1358.78</td>\n",
       "      <td>000005</td>\n",
       "      <td>1</td>\n",
       "      <td>上证商业指数</td>\n",
       "      <td>SSE Commercial Index</td>\n",
       "      <td>商业指数</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>135</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000006</td>\n",
       "      <td>1993-04-30</td>\n",
       "      <td>1358.78</td>\n",
       "      <td>000006</td>\n",
       "      <td>1</td>\n",
       "      <td>上证地产指数</td>\n",
       "      <td>SSE Real Estate Index</td>\n",
       "      <td>地产指数</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>25</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000007</td>\n",
       "      <td>1993-04-30</td>\n",
       "      <td>1358.78</td>\n",
       "      <td>000007</td>\n",
       "      <td>1</td>\n",
       "      <td>上证公用指数</td>\n",
       "      <td>SSE Utilities Index</td>\n",
       "      <td>公用指数</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>121</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000008</td>\n",
       "      <td>1993-04-30</td>\n",
       "      <td>1358.78</td>\n",
       "      <td>000008</td>\n",
       "      <td>1</td>\n",
       "      <td>上证综合指数</td>\n",
       "      <td>SSE Conglomerates Index</td>\n",
       "      <td>综合指数</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>215</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000018</td>\n",
       "      <td>2002-06-28</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000018</td>\n",
       "      <td>1</td>\n",
       "      <td>上证180金融股指数</td>\n",
       "      <td>SSE 180 Financial Index</td>\n",
       "      <td>180金融</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>47</td>\n",
       "      <td>H00018</td>\n",
       "      <td>上证180金融股全收益指数</td>\n",
       "      <td>SSE 180 Financial Total Return Index</td>\n",
       "      <td>180金收</td>\n",
       "      <td>180 Financial TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000032</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000032</td>\n",
       "      <td>1</td>\n",
       "      <td>上证能源行业指数</td>\n",
       "      <td>SSE Energy Index</td>\n",
       "      <td>上证能源</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>30</td>\n",
       "      <td>H00032</td>\n",
       "      <td>上证能源行业全收益指数</td>\n",
       "      <td>SSE Energy Sector Total Return Index</td>\n",
       "      <td>上证能收</td>\n",
       "      <td>SSE Energy TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000033</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000033</td>\n",
       "      <td>1</td>\n",
       "      <td>上证原材料行业指数</td>\n",
       "      <td>SSE Materials Index</td>\n",
       "      <td>上证材料</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>50</td>\n",
       "      <td>H00033</td>\n",
       "      <td>上证原材料行业全收益指数</td>\n",
       "      <td>SSE Materials Sector Total Return Index</td>\n",
       "      <td>上证材收</td>\n",
       "      <td>SSE Materials TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000034</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000034</td>\n",
       "      <td>1</td>\n",
       "      <td>上证工业行业指数</td>\n",
       "      <td>SSE Industrials Index</td>\n",
       "      <td>上证工业</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>50</td>\n",
       "      <td>H00034</td>\n",
       "      <td>上证工业行业全收益指数</td>\n",
       "      <td>SSE Industrials Sector Total Return Index</td>\n",
       "      <td>上证工收</td>\n",
       "      <td>SSE Industrials TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000035</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000035</td>\n",
       "      <td>1</td>\n",
       "      <td>上证可选消费行业指数</td>\n",
       "      <td>SSE Cons Disc Index</td>\n",
       "      <td>上证可选</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>50</td>\n",
       "      <td>H00035</td>\n",
       "      <td>上证可选消费行业全收益指数</td>\n",
       "      <td>SE Consumer Discretionary Sector Total Return ...</td>\n",
       "      <td>上证可收</td>\n",
       "      <td>SSE Cons Disc TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000036</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000036</td>\n",
       "      <td>1</td>\n",
       "      <td>上证主要消费行业指数</td>\n",
       "      <td>SSE Cons Staples Index</td>\n",
       "      <td>上证消费</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>30</td>\n",
       "      <td>H00036</td>\n",
       "      <td>上证主要消费行业全收益指数</td>\n",
       "      <td>SSE Consumer Staples Sector Total Return Index</td>\n",
       "      <td>上证消收</td>\n",
       "      <td>SSE Cons Staples TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000037</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000037</td>\n",
       "      <td>1</td>\n",
       "      <td>上证医药卫生行业指数</td>\n",
       "      <td>SSE Health Care Index</td>\n",
       "      <td>上证医药</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>44</td>\n",
       "      <td>H00037</td>\n",
       "      <td>上证医药卫生行业全收益指数</td>\n",
       "      <td>SSE Health Care Sector Total Return Index</td>\n",
       "      <td>上证医收</td>\n",
       "      <td>SSE Health Care TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000038</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000038</td>\n",
       "      <td>1</td>\n",
       "      <td>上证金融地产行业指数</td>\n",
       "      <td>SSE Financials Index</td>\n",
       "      <td>上证金融</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>30</td>\n",
       "      <td>H00038</td>\n",
       "      <td>上证金融地产行业全收益指数</td>\n",
       "      <td>SSE Financials Sector Total Return Index</td>\n",
       "      <td>上证金收</td>\n",
       "      <td>SSE Financials TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>229</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000013</td>\n",
       "      <td>2002-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>000013</td>\n",
       "      <td>1</td>\n",
       "      <td>上证企业债指数</td>\n",
       "      <td>SSE Corporate Bond Index</td>\n",
       "      <td>企债指数</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>3711</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>230</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000022</td>\n",
       "      <td>2007-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>000022</td>\n",
       "      <td>1</td>\n",
       "      <td>上证公司债指数</td>\n",
       "      <td>SSE Enterprise Bond Index</td>\n",
       "      <td>沪公司债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>1648</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>231</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000061</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>000061</td>\n",
       "      <td>1</td>\n",
       "      <td>上证企债30指数</td>\n",
       "      <td>SSE Corporate Bond 30 Index</td>\n",
       "      <td>沪企债30</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>30</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>232</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000101</td>\n",
       "      <td>2007-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>000101</td>\n",
       "      <td>1</td>\n",
       "      <td>上证5年期信用债指数</td>\n",
       "      <td>SSE 5-Year Credit Bond index</td>\n",
       "      <td>5年信用</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>608</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>233</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000116</td>\n",
       "      <td>2007-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>000116</td>\n",
       "      <td>1</td>\n",
       "      <td>上证信用债100指数</td>\n",
       "      <td>SSE Credit Bond 100 Index</td>\n",
       "      <td>信用100</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>100</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000140</td>\n",
       "      <td>2007-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>000140</td>\n",
       "      <td>1</td>\n",
       "      <td>上证5年期国债指数</td>\n",
       "      <td>SSE 5-Year China Treasury Note (Futures Delive...</td>\n",
       "      <td>5年国债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>950109</td>\n",
       "      <td>2013-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>950109</td>\n",
       "      <td>1</td>\n",
       "      <td>上证10年期地方政府债指数</td>\n",
       "      <td>SSE 10-Year Local Government Bond Index</td>\n",
       "      <td>上证10年地债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>529</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>950110</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>950110</td>\n",
       "      <td>1</td>\n",
       "      <td>上证超长期国债指数</td>\n",
       "      <td>SSE Extra Long Treasury Bond Index</td>\n",
       "      <td>上证超长国债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>44</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>950113</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>950113</td>\n",
       "      <td>1</td>\n",
       "      <td>上证3-5年期中高等级可质押信用债指数</td>\n",
       "      <td>SSE 3-5 Year Collateralizable Medium-High Grad...</td>\n",
       "      <td>沪质中高债3-5</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>242</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>950117</td>\n",
       "      <td>2016-12-30</td>\n",
       "      <td>100.00</td>\n",
       "      <td>950117</td>\n",
       "      <td>1</td>\n",
       "      <td>上证绿色债券指数</td>\n",
       "      <td>SSE Green Bond Index</td>\n",
       "      <td>上证绿色债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>49</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>950118</td>\n",
       "      <td>2016-12-30</td>\n",
       "      <td>100.00</td>\n",
       "      <td>950118</td>\n",
       "      <td>1</td>\n",
       "      <td>上证绿色公司债指数</td>\n",
       "      <td>SSE Green Corporate Bond Index</td>\n",
       "      <td>上证绿色公司债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>23</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11018</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11018</td>\n",
       "      <td>1</td>\n",
       "      <td>上证可质押城投债指数</td>\n",
       "      <td>SSE Pledgeable Urban Construction Investment B...</td>\n",
       "      <td>沪质城投</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>889</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11077</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11077</td>\n",
       "      <td>1</td>\n",
       "      <td>上证10年期国债指数</td>\n",
       "      <td>SSE 10-Year China Treasury Note Index (Futures...</td>\n",
       "      <td>10年国债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>17</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11080</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11080</td>\n",
       "      <td>1</td>\n",
       "      <td>上证公司债AAA指数</td>\n",
       "      <td>SSE Corporate Bond Index AAA</td>\n",
       "      <td>HGSZ AAA</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>883</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>243</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11081</td>\n",
       "      <td>2009-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11081</td>\n",
       "      <td>1</td>\n",
       "      <td>上证公司债AA+指数</td>\n",
       "      <td>SSE corporate Bond Index AA+</td>\n",
       "      <td>HGSZ AA+</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>403</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11082</td>\n",
       "      <td>2009-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11082</td>\n",
       "      <td>1</td>\n",
       "      <td>上证公司债AA指数</td>\n",
       "      <td>SSE corporate Bond Index AA</td>\n",
       "      <td>HGSZ AA</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>348</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11083</td>\n",
       "      <td>2009-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11083</td>\n",
       "      <td>1</td>\n",
       "      <td>上证公司债1-3年指数</td>\n",
       "      <td>SSE corporate Bond Index 1-3Y</td>\n",
       "      <td>HGSZ 1-3</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>732</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11084</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11084</td>\n",
       "      <td>1</td>\n",
       "      <td>上证公司债3-5年指数</td>\n",
       "      <td>SSE corporate Bond Index 3-5Y</td>\n",
       "      <td>HGSZ 3-5</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>736</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11085</td>\n",
       "      <td>2009-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11085</td>\n",
       "      <td>1</td>\n",
       "      <td>上证公司债5-7年指数</td>\n",
       "      <td>SSE corporate Bond Index 5-7Y</td>\n",
       "      <td>HGSZ 5-7</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>92</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11086</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11086</td>\n",
       "      <td>1</td>\n",
       "      <td>上证公司债7-10年指数</td>\n",
       "      <td>SSE corporate Bond Index 7-10Y</td>\n",
       "      <td>HGSZ7-10</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>68</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11095</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11095</td>\n",
       "      <td>1</td>\n",
       "      <td>上证跨市场中期中高收益信用债指数</td>\n",
       "      <td>SSE Medium Term Medium-High Yield Cross Market...</td>\n",
       "      <td>沪跨市中期中高债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>604</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>H11098</td>\n",
       "      <td>2008-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>H11098</td>\n",
       "      <td>1</td>\n",
       "      <td>上证城投债指数</td>\n",
       "      <td>SSE Urban Construction Investment Bond Index</td>\n",
       "      <td>沪城投债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>1810</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000139</td>\n",
       "      <td>2002-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td></td>\n",
       "      <td>1</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>30</td>\n",
       "      <td>000139</td>\n",
       "      <td>上证可转换债券指数</td>\n",
       "      <td>SSE Convertible Bond Index</td>\n",
       "      <td>上证转债</td>\n",
       "      <td>SSE Convertible Bond</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000011</td>\n",
       "      <td>2000-05-08</td>\n",
       "      <td>1000.00</td>\n",
       "      <td></td>\n",
       "      <td>1</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>124</td>\n",
       "      <td>000011</td>\n",
       "      <td>上证基金指数</td>\n",
       "      <td>SSE Fund Index</td>\n",
       "      <td>基金指数</td>\n",
       "      <td>Fund Index</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>253</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000091</td>\n",
       "      <td>2004-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>000091</td>\n",
       "      <td>1</td>\n",
       "      <td>上证财富中小盘指数</td>\n",
       "      <td>SSE Wealth Mid-Small Index</td>\n",
       "      <td>沪财中小</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>200</td>\n",
       "      <td>H00091</td>\n",
       "      <td>上证财富中小盘全收益指数</td>\n",
       "      <td>SSE Wealth Mid-Small Total Return Index</td>\n",
       "      <td>沪财中小全收益</td>\n",
       "      <td>SSE Wealth Mid-Small TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>950090</td>\n",
       "      <td>2004-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>950090</td>\n",
       "      <td>1</td>\n",
       "      <td>上证50AH优选指数</td>\n",
       "      <td>SSE 50 AH Select Index</td>\n",
       "      <td>50AH优选</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>50</td>\n",
       "      <td>H40090</td>\n",
       "      <td>上证50AH优选全收益指数</td>\n",
       "      <td>SSE 50 AH Select Total Return Index</td>\n",
       "      <td>50AH优选(全)</td>\n",
       "      <td>SSE 50 Select TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>950092</td>\n",
       "      <td>2004-12-31</td>\n",
       "      <td>1000.00</td>\n",
       "      <td>950092</td>\n",
       "      <td>1</td>\n",
       "      <td>上证180AH优选指数</td>\n",
       "      <td>SSE 180 AH Select Index</td>\n",
       "      <td>上证180优选</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>180</td>\n",
       "      <td>H40092</td>\n",
       "      <td>上证180AH优选全收益指数</td>\n",
       "      <td>SSE 180 AH Select Total Return Index</td>\n",
       "      <td>上证180优选(全)</td>\n",
       "      <td>SSE 180 Select TRI</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>950102</td>\n",
       "      <td>2007-12-31</td>\n",
       "      <td>100.00</td>\n",
       "      <td>950102</td>\n",
       "      <td>1</td>\n",
       "      <td>上证周期产业债指数</td>\n",
       "      <td>SSE Cycle Industry Bond Index</td>\n",
       "      <td>上证周期债</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>387</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000010</td>\n",
       "      <td>2002-06-28</td>\n",
       "      <td>0.00</td>\n",
       "      <td>H50059</td>\n",
       "      <td>1</td>\n",
       "      <td>上证180股息点指数</td>\n",
       "      <td>SSE180 Dividend Point index</td>\n",
       "      <td>180股息点</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>180</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>000016</td>\n",
       "      <td>2003-12-31</td>\n",
       "      <td>0.00</td>\n",
       "      <td>H50060</td>\n",
       "      <td>1</td>\n",
       "      <td>上证50股息点指数</td>\n",
       "      <td>SSE50 Dividend Point index</td>\n",
       "      <td>50股息点</td>\n",
       "      <td>...</td>\n",
       "      <td></td>\n",
       "      <td>50</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td>20180516</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>259 rows × 40 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    handbookEnUrl handbookUrl ifIndexCode indexBaseDay  indexBasePoint  \\\n",
       "0                                  000001   1990-12-19          100.00   \n",
       "1                                  000002   1990-12-19          100.00   \n",
       "2                                  000003   1992-02-21          100.00   \n",
       "3                                  000009   2003-12-31         1000.00   \n",
       "4                                  000010   2002-06-28         3299.06   \n",
       "5                                  000016   2003-12-31         1000.00   \n",
       "6                                  000017   2005-12-30         1000.00   \n",
       "7                                  000020   2007-12-28         1000.00   \n",
       "8                                  000043   2003-12-31         1000.00   \n",
       "9                                  000044   2003-12-31         1000.00   \n",
       "10                                 000045   2003-12-31         1000.00   \n",
       "11                                 000046   2003-12-31         1000.00   \n",
       "12                                 000047   2003-12-31         1000.00   \n",
       "13                                 000090   2009-12-31         1000.00   \n",
       "14                                 000132   2003-12-31         1000.00   \n",
       "15                                 000133   2003-12-31         1000.00   \n",
       "16                                 000155   2003-12-31         1000.00   \n",
       "17                                 000004   1993-04-30         1358.78   \n",
       "18                                 000005   1993-04-30         1358.78   \n",
       "19                                 000006   1993-04-30         1358.78   \n",
       "20                                 000007   1993-04-30         1358.78   \n",
       "21                                 000008   1993-04-30         1358.78   \n",
       "22                                 000018   2002-06-28         1000.00   \n",
       "23                                 000032   2003-12-31         1000.00   \n",
       "24                                 000033   2003-12-31         1000.00   \n",
       "25                                 000034   2003-12-31         1000.00   \n",
       "26                                 000035   2003-12-31         1000.00   \n",
       "27                                 000036   2003-12-31         1000.00   \n",
       "28                                 000037   2003-12-31         1000.00   \n",
       "29                                 000038   2003-12-31         1000.00   \n",
       "..            ...         ...         ...          ...             ...   \n",
       "229                                000013   2002-12-31          100.00   \n",
       "230                                000022   2007-12-31          100.00   \n",
       "231                                000061   2008-12-31          100.00   \n",
       "232                                000101   2007-12-31          100.00   \n",
       "233                                000116   2007-12-31          100.00   \n",
       "234                                000140   2007-12-31          100.00   \n",
       "235                                950109   2013-12-31          100.00   \n",
       "236                                950110   2008-12-31          100.00   \n",
       "237                                950113   2008-12-31          100.00   \n",
       "238                                950117   2016-12-30          100.00   \n",
       "239                                950118   2016-12-30          100.00   \n",
       "240                                H11018   2008-12-31          100.00   \n",
       "241                                H11077   2008-12-31          100.00   \n",
       "242                                H11080   2008-12-31          100.00   \n",
       "243                                H11081   2009-12-31          100.00   \n",
       "244                                H11082   2009-12-31          100.00   \n",
       "245                                H11083   2009-12-31          100.00   \n",
       "246                                H11084   2008-12-31          100.00   \n",
       "247                                H11085   2009-12-31          100.00   \n",
       "248                                H11086   2008-12-31          100.00   \n",
       "249                                H11095   2008-12-31          100.00   \n",
       "250                                H11098   2008-12-31          100.00   \n",
       "251                                000139   2002-12-31          100.00   \n",
       "252                                000011   2000-05-08         1000.00   \n",
       "253                                000091   2004-12-31         1000.00   \n",
       "254                                950090   2004-12-31         1000.00   \n",
       "255                                950092   2004-12-31         1000.00   \n",
       "256                                950102   2007-12-31          100.00   \n",
       "257                                000010   2002-06-28            0.00   \n",
       "258                                000016   2003-12-31            0.00   \n",
       "\n",
       "    indexCode  indexDataSourceType        indexFullName  \\\n",
       "0      000001                    1               上证综合指数   \n",
       "1      000002                    1               上证A股指数   \n",
       "2      000003                    1               上证B股指数   \n",
       "3      000009                    1              上证380指数   \n",
       "4      000010                    1              上证180指数   \n",
       "5      000016                    1               上证50指数   \n",
       "6      000017                    1                新上证综指   \n",
       "7      000020                    1           上证中型企业综合指数   \n",
       "8      000043                    1             上证超级大盘指数   \n",
       "9      000044                    1               上证中盘指数   \n",
       "10     000045                    1               上证小盘指数   \n",
       "11     000046                    1              上证中小盘指数   \n",
       "12     000047                    1             上证大中小盘指数   \n",
       "13     000090                    1               上证流通指数   \n",
       "14     000132                    1              上证100指数   \n",
       "15     000133                    1              上证150指数   \n",
       "16     000155                    1             上证市值百强指数   \n",
       "17     000004                    1               上证工业指数   \n",
       "18     000005                    1               上证商业指数   \n",
       "19     000006                    1               上证地产指数   \n",
       "20     000007                    1               上证公用指数   \n",
       "21     000008                    1               上证综合指数   \n",
       "22     000018                    1           上证180金融股指数   \n",
       "23     000032                    1             上证能源行业指数   \n",
       "24     000033                    1            上证原材料行业指数   \n",
       "25     000034                    1             上证工业行业指数   \n",
       "26     000035                    1           上证可选消费行业指数   \n",
       "27     000036                    1           上证主要消费行业指数   \n",
       "28     000037                    1           上证医药卫生行业指数   \n",
       "29     000038                    1           上证金融地产行业指数   \n",
       "..        ...                  ...                  ...   \n",
       "229    000013                    1              上证企业债指数   \n",
       "230    000022                    1              上证公司债指数   \n",
       "231    000061                    1             上证企债30指数   \n",
       "232    000101                    1           上证5年期信用债指数   \n",
       "233    000116                    1           上证信用债100指数   \n",
       "234    000140                    1            上证5年期国债指数   \n",
       "235    950109                    1        上证10年期地方政府债指数   \n",
       "236    950110                    1            上证超长期国债指数   \n",
       "237    950113                    1  上证3-5年期中高等级可质押信用债指数   \n",
       "238    950117                    1             上证绿色债券指数   \n",
       "239    950118                    1            上证绿色公司债指数   \n",
       "240    H11018                    1           上证可质押城投债指数   \n",
       "241    H11077                    1           上证10年期国债指数   \n",
       "242    H11080                    1           上证公司债AAA指数   \n",
       "243    H11081                    1           上证公司债AA+指数   \n",
       "244    H11082                    1            上证公司债AA指数   \n",
       "245    H11083                    1          上证公司债1-3年指数   \n",
       "246    H11084                    1          上证公司债3-5年指数   \n",
       "247    H11085                    1          上证公司债5-7年指数   \n",
       "248    H11086                    1         上证公司债7-10年指数   \n",
       "249    H11095                    1     上证跨市场中期中高收益信用债指数   \n",
       "250    H11098                    1              上证城投债指数   \n",
       "251                              1                        \n",
       "252                              1                        \n",
       "253    000091                    1            上证财富中小盘指数   \n",
       "254    950090                    1           上证50AH优选指数   \n",
       "255    950092                    1          上证180AH优选指数   \n",
       "256    950102                    1            上证周期产业债指数   \n",
       "257    H50059                    1           上证180股息点指数   \n",
       "258    H50060                    1            上证50股息点指数   \n",
       "\n",
       "                                       indexFullNameEn indexName     ...      \\\n",
       "0                                  SSE Composite Index      上证指数     ...       \n",
       "1                                    SSE A Share Index      Ａ股指数     ...       \n",
       "2                                    SSE B Share Index      Ｂ股指数     ...       \n",
       "3                                        SSE 380 Index     上证380     ...       \n",
       "4                                        SSE 180 Index     上证180     ...       \n",
       "5                                         SSE 50 Index      上证50     ...       \n",
       "6                                        New SSE Index       新综指     ...       \n",
       "7                           SSE Medium Composite Index      中型综指     ...       \n",
       "8                                   SSE Mega-cap Index       超大盘     ...       \n",
       "9                                    SSE MID CAP Index      上证中盘     ...       \n",
       "10                                 SSE SMALL CAP Index      上证小盘     ...       \n",
       "11                             SSE MID&SMALL CAP Index      上证中小     ...       \n",
       "12                              SSE TOTAL MARKET Index      上证全指     ...       \n",
       "13                                SSE Free Float Index      上证流通     ...       \n",
       "14                                       SSE 100 Index     上证100     ...       \n",
       "15                                       SSE 150 Index     上证150     ...       \n",
       "16                      SSE Market Value Top 100 Index      市值百强     ...       \n",
       "17                                SSE Industrial Index      工业指数     ...       \n",
       "18                                SSE Commercial Index      商业指数     ...       \n",
       "19                               SSE Real Estate Index      地产指数     ...       \n",
       "20                                 SSE Utilities Index      公用指数     ...       \n",
       "21                             SSE Conglomerates Index      综合指数     ...       \n",
       "22                             SSE 180 Financial Index     180金融     ...       \n",
       "23                                    SSE Energy Index      上证能源     ...       \n",
       "24                                 SSE Materials Index      上证材料     ...       \n",
       "25                               SSE Industrials Index      上证工业     ...       \n",
       "26                                 SSE Cons Disc Index      上证可选     ...       \n",
       "27                              SSE Cons Staples Index      上证消费     ...       \n",
       "28                               SSE Health Care Index      上证医药     ...       \n",
       "29                                SSE Financials Index      上证金融     ...       \n",
       "..                                                 ...       ...     ...       \n",
       "229                           SSE Corporate Bond Index      企债指数     ...       \n",
       "230                          SSE Enterprise Bond Index      沪公司债     ...       \n",
       "231                        SSE Corporate Bond 30 Index     沪企债30     ...       \n",
       "232                       SSE 5-Year Credit Bond index      5年信用     ...       \n",
       "233                          SSE Credit Bond 100 Index     信用100     ...       \n",
       "234  SSE 5-Year China Treasury Note (Futures Delive...      5年国债     ...       \n",
       "235            SSE 10-Year Local Government Bond Index   上证10年地债     ...       \n",
       "236                 SSE Extra Long Treasury Bond Index    上证超长国债     ...       \n",
       "237  SSE 3-5 Year Collateralizable Medium-High Grad...  沪质中高债3-5     ...       \n",
       "238                               SSE Green Bond Index     上证绿色债     ...       \n",
       "239                     SSE Green Corporate Bond Index   上证绿色公司债     ...       \n",
       "240  SSE Pledgeable Urban Construction Investment B...      沪质城投     ...       \n",
       "241  SSE 10-Year China Treasury Note Index (Futures...     10年国债     ...       \n",
       "242                       SSE Corporate Bond Index AAA  HGSZ AAA     ...       \n",
       "243                       SSE corporate Bond Index AA+  HGSZ AA+     ...       \n",
       "244                        SSE corporate Bond Index AA   HGSZ AA     ...       \n",
       "245                      SSE corporate Bond Index 1-3Y  HGSZ 1-3     ...       \n",
       "246                      SSE corporate Bond Index 3-5Y  HGSZ 3-5     ...       \n",
       "247                      SSE corporate Bond Index 5-7Y  HGSZ 5-7     ...       \n",
       "248                     SSE corporate Bond Index 7-10Y  HGSZ7-10     ...       \n",
       "249  SSE Medium Term Medium-High Yield Cross Market...  沪跨市中期中高债     ...       \n",
       "250       SSE Urban Construction Investment Bond Index      沪城投债     ...       \n",
       "251                                                                  ...       \n",
       "252                                                                  ...       \n",
       "253                         SSE Wealth Mid-Small Index      沪财中小     ...       \n",
       "254                             SSE 50 AH Select Index    50AH优选     ...       \n",
       "255                            SSE 180 AH Select Index   上证180优选     ...       \n",
       "256                      SSE Cycle Industry Bond Index     上证周期债     ...       \n",
       "257                        SSE180 Dividend Point index    180股息点     ...       \n",
       "258                         SSE50 Dividend Point index     50股息点     ...       \n",
       "\n",
       "    netReturnIntroEn  numOfStockes  tIndexCode  tIndexFullName  \\\n",
       "0                             1464                               \n",
       "1                             1414                               \n",
       "2                               50                               \n",
       "3                              380      H00009      上证380全收益指数   \n",
       "4                              180      H00010      上证180全收益指数   \n",
       "5                               50      H00016       上证50全收益指数   \n",
       "6                             1412                               \n",
       "7                              465      H00020   上证中型企业综合全收益指数   \n",
       "8                               20      H00043     上证超级大盘全收益指数   \n",
       "9                              130      H00044       上证中盘全收益指数   \n",
       "10                             320      H00045       上证小盘全收益指数   \n",
       "11                             450      H00046      上证中小盘全收益指数   \n",
       "12                             500      H00047     上证大中小盘全收益指数   \n",
       "13                            1412      H00090       上证流通全收益指数   \n",
       "14                             100      H00132      上证100全收益指数   \n",
       "15                             150      H00133      上证150全收益指数   \n",
       "16                             100      H00155     上证市值百强全收益指数   \n",
       "17                             968                               \n",
       "18                             135                               \n",
       "19                              25                               \n",
       "20                             121                               \n",
       "21                             215                               \n",
       "22                              47      H00018   上证180金融股全收益指数   \n",
       "23                              30      H00032     上证能源行业全收益指数   \n",
       "24                              50      H00033    上证原材料行业全收益指数   \n",
       "25                              50      H00034     上证工业行业全收益指数   \n",
       "26                              50      H00035   上证可选消费行业全收益指数   \n",
       "27                              30      H00036   上证主要消费行业全收益指数   \n",
       "28                              44      H00037   上证医药卫生行业全收益指数   \n",
       "29                              30      H00038   上证金融地产行业全收益指数   \n",
       "..               ...           ...         ...             ...   \n",
       "229                           3711                               \n",
       "230                           1648                               \n",
       "231                             30                               \n",
       "232                            608                               \n",
       "233                            100                               \n",
       "234                                                              \n",
       "235                            529                               \n",
       "236                             44                               \n",
       "237                            242                               \n",
       "238                             49                               \n",
       "239                             23                               \n",
       "240                            889                               \n",
       "241                             17                               \n",
       "242                            883                               \n",
       "243                            403                               \n",
       "244                            348                               \n",
       "245                            732                               \n",
       "246                            736                               \n",
       "247                             92                               \n",
       "248                             68                               \n",
       "249                            604                               \n",
       "250                           1810                               \n",
       "251                             30      000139       上证可转换债券指数   \n",
       "252                            124      000011          上证基金指数   \n",
       "253                            200      H00091    上证财富中小盘全收益指数   \n",
       "254                             50      H40090   上证50AH优选全收益指数   \n",
       "255                            180      H40092  上证180AH优选全收益指数   \n",
       "256                            387                               \n",
       "257                            180                               \n",
       "258                             50                               \n",
       "\n",
       "                                      tIndexFullNameEn  tIndexName  \\\n",
       "0                                                                    \n",
       "1                                                                    \n",
       "2                                                                    \n",
       "3                           SSE 380 Total Return Index    上证380全收益   \n",
       "4                           SSE 180 Total Return Index       180收益   \n",
       "5                            SSE 50 Total Return Index        50收益   \n",
       "6                                                                    \n",
       "7              SSE Medium Composite Total Return Index        中企收益   \n",
       "8                      SSE Mega-cap Total Return Index         超大收   \n",
       "9                       SSE MID CAP Total Return Index        上证中收   \n",
       "10                    SSE SMALL CAP Total Return Index        上证小收   \n",
       "11                SSE MID&SMALL CAP Total Return Index        上中小收   \n",
       "12                 SSE TOTAL MARKET Total Return Index        上证全收   \n",
       "13                   SSE Free Float Total Return Index     上证流通全收益   \n",
       "14                          SSE 100 Total Return Index    上证100全收益   \n",
       "15                          SSE 150 Total Return Index    上证150全收益   \n",
       "16         SSE Market Value Top 100 Total Return Index     市值百强全收益   \n",
       "17                                                                   \n",
       "18                                                                   \n",
       "19                                                                   \n",
       "20                                                                   \n",
       "21                                                                   \n",
       "22                SSE 180 Financial Total Return Index       180金收   \n",
       "23                SSE Energy Sector Total Return Index        上证能收   \n",
       "24             SSE Materials Sector Total Return Index        上证材收   \n",
       "25           SSE Industrials Sector Total Return Index        上证工收   \n",
       "26   SE Consumer Discretionary Sector Total Return ...        上证可收   \n",
       "27      SSE Consumer Staples Sector Total Return Index        上证消收   \n",
       "28           SSE Health Care Sector Total Return Index        上证医收   \n",
       "29            SSE Financials Sector Total Return Index        上证金收   \n",
       "..                                                 ...         ...   \n",
       "229                                                                  \n",
       "230                                                                  \n",
       "231                                                                  \n",
       "232                                                                  \n",
       "233                                                                  \n",
       "234                                                                  \n",
       "235                                                                  \n",
       "236                                                                  \n",
       "237                                                                  \n",
       "238                                                                  \n",
       "239                                                                  \n",
       "240                                                                  \n",
       "241                                                                  \n",
       "242                                                                  \n",
       "243                                                                  \n",
       "244                                                                  \n",
       "245                                                                  \n",
       "246                                                                  \n",
       "247                                                                  \n",
       "248                                                                  \n",
       "249                                                                  \n",
       "250                                                                  \n",
       "251                         SSE Convertible Bond Index        上证转债   \n",
       "252                                     SSE Fund Index        基金指数   \n",
       "253            SSE Wealth Mid-Small Total Return Index     沪财中小全收益   \n",
       "254                SSE 50 AH Select Total Return Index   50AH优选(全)   \n",
       "255               SSE 180 AH Select Total Return Index  上证180优选(全)   \n",
       "256                                                                  \n",
       "257                                                                  \n",
       "258                                                                  \n",
       "\n",
       "                 tIndexNameEn  totalReturnIntro  totalReturnIntroEn  \\\n",
       "0                                                                     \n",
       "1                                                                     \n",
       "2                                                                     \n",
       "3                 SSE 380 TRI                                         \n",
       "4                 SSE 180 TRI                                         \n",
       "5                  SSE 50 TRI                                         \n",
       "6                                                                     \n",
       "7    SSE Medium Composite TRI                                         \n",
       "8            SSE Mega-cap TRI                                         \n",
       "9             SSE MID CAP TRI                                         \n",
       "10          SSE SMALL CAP TRI                                         \n",
       "11      SSE MID&SMALL CAP TRI                                         \n",
       "12       SSE TOTAL MARKET TRI                                         \n",
       "13         SSE Free Float TRI                                         \n",
       "14                SSE 100 TRI                                         \n",
       "15                SSE 150 TRI                                         \n",
       "16   Market Value Top 100 TRI                                         \n",
       "17                                                                    \n",
       "18                                                                    \n",
       "19                                                                    \n",
       "20                                                                    \n",
       "21                                                                    \n",
       "22          180 Financial TRI                                         \n",
       "23             SSE Energy TRI                                         \n",
       "24          SSE Materials TRI                                         \n",
       "25        SSE Industrials TRI                                         \n",
       "26          SSE Cons Disc TRI                                         \n",
       "27       SSE Cons Staples TRI                                         \n",
       "28        SSE Health Care TRI                                         \n",
       "29         SSE Financials TRI                                         \n",
       "..                        ...               ...                 ...   \n",
       "229                                                                   \n",
       "230                                                                   \n",
       "231                                                                   \n",
       "232                                                                   \n",
       "233                                                                   \n",
       "234                                                                   \n",
       "235                                                                   \n",
       "236                                                                   \n",
       "237                                                                   \n",
       "238                                                                   \n",
       "239                                                                   \n",
       "240                                                                   \n",
       "241                                                                   \n",
       "242                                                                   \n",
       "243                                                                   \n",
       "244                                                                   \n",
       "245                                                                   \n",
       "246                                                                   \n",
       "247                                                                   \n",
       "248                                                                   \n",
       "249                                                                   \n",
       "250                                                                   \n",
       "251      SSE Convertible Bond                                         \n",
       "252                Fund Index                                         \n",
       "253  SSE Wealth Mid-Small TRI                                         \n",
       "254         SSE 50 Select TRI                                         \n",
       "255        SSE 180 Select TRI                                         \n",
       "256                                                                   \n",
       "257                                                                   \n",
       "258                                                                   \n",
       "\n",
       "     updateTime  \n",
       "0      20180516  \n",
       "1      20180516  \n",
       "2      20180516  \n",
       "3      20180516  \n",
       "4      20180516  \n",
       "5      20180516  \n",
       "6      20180516  \n",
       "7      20180516  \n",
       "8      20180516  \n",
       "9      20180516  \n",
       "10     20180516  \n",
       "11     20180516  \n",
       "12     20180516  \n",
       "13     20180516  \n",
       "14     20180516  \n",
       "15     20180516  \n",
       "16     20180516  \n",
       "17     20180516  \n",
       "18     20180516  \n",
       "19     20180516  \n",
       "20     20180516  \n",
       "21     20180516  \n",
       "22     20180516  \n",
       "23     20180516  \n",
       "24     20180516  \n",
       "25     20180516  \n",
       "26     20180516  \n",
       "27     20180516  \n",
       "28     20180516  \n",
       "29     20180516  \n",
       "..          ...  \n",
       "229    20180516  \n",
       "230    20180516  \n",
       "231    20180516  \n",
       "232    20180516  \n",
       "233    20180516  \n",
       "234    20180516  \n",
       "235    20180516  \n",
       "236    20180516  \n",
       "237    20180516  \n",
       "238    20180516  \n",
       "239    20180516  \n",
       "240    20180516  \n",
       "241    20180516  \n",
       "242    20180516  \n",
       "243    20180516  \n",
       "244    20180516  \n",
       "245    20180516  \n",
       "246    20180516  \n",
       "247    20180516  \n",
       "248    20180516  \n",
       "249    20180516  \n",
       "250    20180516  \n",
       "251    20180516  \n",
       "252    20180516  \n",
       "253    20180516  \n",
       "254    20180516  \n",
       "255    20180516  \n",
       "256    20180516  \n",
       "257    20180516  \n",
       "258    20180516  \n",
       "\n",
       "[259 rows x 40 columns]"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 获取指数列表，market=SH/SZ/CSI\n",
    "index_list = stock.get_index_list('SH')\n",
    "index_list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>inDate</th>\n",
       "      <th>marketSource</th>\n",
       "      <th>securityAbbr</th>\n",
       "      <th>securityAbbrEn</th>\n",
       "      <th>securityCode</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>SHANGHAI PUDONG DEVELOPMENT BANK CO., LTD.</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>民生银行</td>\n",
       "      <td>CHINA MINSHENG BANK</td>\n",
       "      <td>600016</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>宝钢股份</td>\n",
       "      <td>Baoshan Iron &amp; Steel Co., Ltd.</td>\n",
       "      <td>600019</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国石化</td>\n",
       "      <td>China Petroleum and Chemical Corporation</td>\n",
       "      <td>600028</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>南方航空</td>\n",
       "      <td>China Southern Airlines Company Limited</td>\n",
       "      <td>600029</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中信证券</td>\n",
       "      <td>CITIC Securities Company Limited</td>\n",
       "      <td>600030</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>招商银行</td>\n",
       "      <td>China Merchants Bank Co.,Limited</td>\n",
       "      <td>600036</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>保利地产</td>\n",
       "      <td>POLY REAL ESTATE GROUP CO.,LTD</td>\n",
       "      <td>600048</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国联通</td>\n",
       "      <td>CHINA UNITED NETWORK COMMUNICATIONS  LIMITED</td>\n",
       "      <td>600050</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>上汽集团</td>\n",
       "      <td>SAIC Motor Corporation Limited</td>\n",
       "      <td>600104</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>北方稀土</td>\n",
       "      <td>China Northern Rare Earth (Group) High-Tech Co...</td>\n",
       "      <td>600111</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>恒瑞医药</td>\n",
       "      <td>JIANGSU HENGRUI  MEDICINE CO.,LTD.</td>\n",
       "      <td>600276</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>万华化学</td>\n",
       "      <td>Wanhua Chemical Group Co.,Ltd.</td>\n",
       "      <td>600309</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>华夏幸福</td>\n",
       "      <td>CHINA FORTUNE LAND DEVELOPMENT CO.，LTD.</td>\n",
       "      <td>600340</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>贵州茅台</td>\n",
       "      <td>KWEICHOW MOUTAI CO.,LTD.</td>\n",
       "      <td>600519</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>山东黄金</td>\n",
       "      <td>SHANDONG GOLD MINING CO.,LTD.</td>\n",
       "      <td>600547</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>海螺水泥</td>\n",
       "      <td>Anhui Conch Cement Company Limited</td>\n",
       "      <td>600585</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>绿地控股</td>\n",
       "      <td>Greenland Holdings Corporation Limited</td>\n",
       "      <td>600606</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>青岛海尔</td>\n",
       "      <td>QINGDAO HAIER CO.，LTD</td>\n",
       "      <td>600690</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>三安光电</td>\n",
       "      <td>SAN'AN OPTOELECTRONICS CO.,LTD</td>\n",
       "      <td>600703</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>伊利股份</td>\n",
       "      <td>INNER MONGOLIA YILI INDUSTRIAL GROUP CO.,LTD</td>\n",
       "      <td>600887</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>东方证券</td>\n",
       "      <td>ORIENT SECURITIES COMPANY LIMITED</td>\n",
       "      <td>600958</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>招商证券</td>\n",
       "      <td>China Merchants Securities Co.,Ltd.</td>\n",
       "      <td>600999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>大秦铁路</td>\n",
       "      <td>Daqin Railway Co., Ltd.</td>\n",
       "      <td>601006</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国神华</td>\n",
       "      <td>China Shenhua Energy Company Limited</td>\n",
       "      <td>601088</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>兴业银行</td>\n",
       "      <td>INDUSTRIAL BANK CO.,LTD.</td>\n",
       "      <td>601166</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>北京银行</td>\n",
       "      <td>BANK OF BEIJING CO.,LTD.</td>\n",
       "      <td>601169</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国铁建</td>\n",
       "      <td>China Railway Construction Corporation Limited</td>\n",
       "      <td>601186</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>Guotai Junan Securities Co. Ltd.</td>\n",
       "      <td>601211</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>上海银行</td>\n",
       "      <td>Bank of Shanghai Co.,ltd.</td>\n",
       "      <td>601229</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>农业银行</td>\n",
       "      <td>AGRICULTURAL BANK OF CHINA LIMITED</td>\n",
       "      <td>601288</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国平安</td>\n",
       "      <td>PING AN INSURANCE（GROUP） COMPANY OF CHINA, LTD.</td>\n",
       "      <td>601318</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>交通银行</td>\n",
       "      <td>BANK OF COMMUNICATIONS CO.,LTD.</td>\n",
       "      <td>601328</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>新华保险</td>\n",
       "      <td>NEW CHINA LIFE INSURANCE COMPANY LTD.</td>\n",
       "      <td>601336</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>三六零</td>\n",
       "      <td>360 Security Technology Inc.</td>\n",
       "      <td>601360</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国中铁</td>\n",
       "      <td>China Railway Group Limited</td>\n",
       "      <td>601390</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>工商银行</td>\n",
       "      <td>INDUSTRIAL AND COMMERCIAL BANK OF CHINA LIMITED</td>\n",
       "      <td>601398</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国太保</td>\n",
       "      <td>China Pacific Insurance (Group) Co., Ltd.</td>\n",
       "      <td>601601</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国人寿</td>\n",
       "      <td>CHINA LIFE INSURANCE COMPANY LIMITED</td>\n",
       "      <td>601628</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国建筑</td>\n",
       "      <td>China State Construction Engineering Corporati...</td>\n",
       "      <td>601668</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>华泰证券</td>\n",
       "      <td>HUATAI SECURITIES CO.,LTD</td>\n",
       "      <td>601688</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国中车</td>\n",
       "      <td>CRRC Corporation Limited</td>\n",
       "      <td>601766</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国交建</td>\n",
       "      <td>China Communications Construction Co.,Ltd</td>\n",
       "      <td>601800</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>光大银行</td>\n",
       "      <td>CHINA EVERBRIGHT BANK COMPANY LIMITED</td>\n",
       "      <td>601818</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国石油</td>\n",
       "      <td>PetroChina Company Limited</td>\n",
       "      <td>601857</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>浙商证券</td>\n",
       "      <td></td>\n",
       "      <td>601878</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国银河</td>\n",
       "      <td>China Galaxy Securities Co., Ltd.</td>\n",
       "      <td>601881</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国银行</td>\n",
       "      <td>BANK OF CHINA LIMITED</td>\n",
       "      <td>601988</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>中国重工</td>\n",
       "      <td>China Shipbuilding Industry Company Limited</td>\n",
       "      <td>601989</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>1</td>\n",
       "      <td>洛阳钼业</td>\n",
       "      <td>China Molybdenum Co., Ltd.</td>\n",
       "      <td>603993</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "        inDate marketSource securityAbbr  \\\n",
       "0   2018-06-15            1         浦发银行   \n",
       "1   2018-06-15            1         民生银行   \n",
       "2   2018-06-15            1         宝钢股份   \n",
       "3   2018-06-15            1         中国石化   \n",
       "4   2018-06-15            1         南方航空   \n",
       "5   2018-06-15            1         中信证券   \n",
       "6   2018-06-15            1         招商银行   \n",
       "7   2018-06-15            1         保利地产   \n",
       "8   2018-06-15            1         中国联通   \n",
       "9   2018-06-15            1         上汽集团   \n",
       "10  2018-06-15            1         北方稀土   \n",
       "11  2018-06-15            1         恒瑞医药   \n",
       "12  2018-06-15            1         万华化学   \n",
       "13  2018-06-15            1         华夏幸福   \n",
       "14  2018-06-15            1         贵州茅台   \n",
       "15  2018-06-15            1         山东黄金   \n",
       "16  2018-06-15            1         海螺水泥   \n",
       "17  2018-06-15            1         绿地控股   \n",
       "18  2018-06-15            1         青岛海尔   \n",
       "19  2018-06-15            1         三安光电   \n",
       "20  2018-06-15            1         伊利股份   \n",
       "21  2018-06-15            1         东方证券   \n",
       "22  2018-06-15            1         招商证券   \n",
       "23  2018-06-15            1         大秦铁路   \n",
       "24  2018-06-15            1         中国神华   \n",
       "25  2018-06-15            1         兴业银行   \n",
       "26  2018-06-15            1         北京银行   \n",
       "27  2018-06-15            1         中国铁建   \n",
       "28  2018-06-15            1         国泰君安   \n",
       "29  2018-06-15            1         上海银行   \n",
       "30  2018-06-15            1         农业银行   \n",
       "31  2018-06-15            1         中国平安   \n",
       "32  2018-06-15            1         交通银行   \n",
       "33  2018-06-15            1         新华保险   \n",
       "34  2018-06-15            1          三六零   \n",
       "35  2018-06-15            1         中国中铁   \n",
       "36  2018-06-15            1         工商银行   \n",
       "37  2018-06-15            1         中国太保   \n",
       "38  2018-06-15            1         中国人寿   \n",
       "39  2018-06-15            1         中国建筑   \n",
       "40  2018-06-15            1         华泰证券   \n",
       "41  2018-06-15            1         中国中车   \n",
       "42  2018-06-15            1         中国交建   \n",
       "43  2018-06-15            1         光大银行   \n",
       "44  2018-06-15            1         中国石油   \n",
       "45  2018-06-15            1         浙商证券   \n",
       "46  2018-06-15            1         中国银河   \n",
       "47  2018-06-15            1         中国银行   \n",
       "48  2018-06-15            1         中国重工   \n",
       "49  2018-06-15            1         洛阳钼业   \n",
       "\n",
       "                                       securityAbbrEn securityCode  \n",
       "0          SHANGHAI PUDONG DEVELOPMENT BANK CO., LTD.       600000  \n",
       "1                                 CHINA MINSHENG BANK       600016  \n",
       "2                      Baoshan Iron & Steel Co., Ltd.       600019  \n",
       "3            China Petroleum and Chemical Corporation       600028  \n",
       "4             China Southern Airlines Company Limited       600029  \n",
       "5                    CITIC Securities Company Limited       600030  \n",
       "6                    China Merchants Bank Co.,Limited       600036  \n",
       "7                      POLY REAL ESTATE GROUP CO.,LTD       600048  \n",
       "8        CHINA UNITED NETWORK COMMUNICATIONS  LIMITED       600050  \n",
       "9                      SAIC Motor Corporation Limited       600104  \n",
       "10  China Northern Rare Earth (Group) High-Tech Co...       600111  \n",
       "11                 JIANGSU HENGRUI  MEDICINE CO.,LTD.       600276  \n",
       "12                     Wanhua Chemical Group Co.,Ltd.       600309  \n",
       "13            CHINA FORTUNE LAND DEVELOPMENT CO.，LTD.       600340  \n",
       "14                           KWEICHOW MOUTAI CO.,LTD.       600519  \n",
       "15                      SHANDONG GOLD MINING CO.,LTD.       600547  \n",
       "16                 Anhui Conch Cement Company Limited       600585  \n",
       "17             Greenland Holdings Corporation Limited       600606  \n",
       "18                              QINGDAO HAIER CO.，LTD       600690  \n",
       "19                     SAN'AN OPTOELECTRONICS CO.,LTD       600703  \n",
       "20       INNER MONGOLIA YILI INDUSTRIAL GROUP CO.,LTD       600887  \n",
       "21                  ORIENT SECURITIES COMPANY LIMITED       600958  \n",
       "22                China Merchants Securities Co.,Ltd.       600999  \n",
       "23                            Daqin Railway Co., Ltd.       601006  \n",
       "24               China Shenhua Energy Company Limited       601088  \n",
       "25                           INDUSTRIAL BANK CO.,LTD.       601166  \n",
       "26                           BANK OF BEIJING CO.,LTD.       601169  \n",
       "27     China Railway Construction Corporation Limited       601186  \n",
       "28                   Guotai Junan Securities Co. Ltd.       601211  \n",
       "29                          Bank of Shanghai Co.,ltd.       601229  \n",
       "30                 AGRICULTURAL BANK OF CHINA LIMITED       601288  \n",
       "31    PING AN INSURANCE（GROUP） COMPANY OF CHINA, LTD.       601318  \n",
       "32                    BANK OF COMMUNICATIONS CO.,LTD.       601328  \n",
       "33              NEW CHINA LIFE INSURANCE COMPANY LTD.       601336  \n",
       "34                       360 Security Technology Inc.       601360  \n",
       "35                        China Railway Group Limited       601390  \n",
       "36    INDUSTRIAL AND COMMERCIAL BANK OF CHINA LIMITED       601398  \n",
       "37          China Pacific Insurance (Group) Co., Ltd.       601601  \n",
       "38               CHINA LIFE INSURANCE COMPANY LIMITED       601628  \n",
       "39  China State Construction Engineering Corporati...       601668  \n",
       "40                          HUATAI SECURITIES CO.,LTD       601688  \n",
       "41                           CRRC Corporation Limited       601766  \n",
       "42          China Communications Construction Co.,Ltd       601800  \n",
       "43              CHINA EVERBRIGHT BANK COMPANY LIMITED       601818  \n",
       "44                         PetroChina Company Limited       601857  \n",
       "45                                                          601878  \n",
       "46                  China Galaxy Securities Co., Ltd.       601881  \n",
       "47                              BANK OF CHINA LIMITED       601988  \n",
       "48        China Shipbuilding Industry Company Limited       601989  \n",
       "49                         China Molybdenum Co., Ltd.       603993  "
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "stock_list = stock.get_index_component('000050.SH')\n",
    "stock_list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "df_total, df_detail = stock.get_rzrq_info(market = 'SZ', date = '20180614')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>融资买入额(元)</th>\n",
       "      <th>融资余额(元)</th>\n",
       "      <th>融券卖出量(股)</th>\n",
       "      <th>融券余量(股)</th>\n",
       "      <th>融券余额(元)</th>\n",
       "      <th>融资融券余额(元)</th>\n",
       "      <th>date</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>11,338,488,858</td>\n",
       "      <td>380,723,914,117</td>\n",
       "      <td>15,523,268</td>\n",
       "      <td>93,789,407</td>\n",
       "      <td>1,236,581,709</td>\n",
       "      <td>381,960,495,826</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         融资买入额(元)          融资余额(元)    融券卖出量(股)     融券余量(股)        融券余额(元)  \\\n",
       "0  11,338,488,858  380,723,914,117  15,523,268  93,789,407  1,236,581,709   \n",
       "\n",
       "         融资融券余额(元)        date  \n",
       "0  381,960,495,826  2018-06-14  "
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_total"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>证券代码</th>\n",
       "      <th>证券简称</th>\n",
       "      <th>融资买入额(元)</th>\n",
       "      <th>融资余额(元)</th>\n",
       "      <th>融券卖出量(股)</th>\n",
       "      <th>融券余量(股)</th>\n",
       "      <th>融券余额(元)</th>\n",
       "      <th>融资融券余额(元)</th>\n",
       "      <th>date</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>平安银行</td>\n",
       "      <td>191,196,305</td>\n",
       "      <td>5,194,292,165</td>\n",
       "      <td>81,500</td>\n",
       "      <td>458,900</td>\n",
       "      <td>4,621,123</td>\n",
       "      <td>5,198,913,288</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>万  科Ａ</td>\n",
       "      <td>87,149,528</td>\n",
       "      <td>2,378,768,960</td>\n",
       "      <td>176,490</td>\n",
       "      <td>1,542,441</td>\n",
       "      <td>42,216,610</td>\n",
       "      <td>2,420,985,570</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>6</td>\n",
       "      <td>深振业Ａ</td>\n",
       "      <td>18,198,993</td>\n",
       "      <td>942,991,163</td>\n",
       "      <td>11,600</td>\n",
       "      <td>122,700</td>\n",
       "      <td>850,311</td>\n",
       "      <td>943,841,474</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>9</td>\n",
       "      <td>中国宝安</td>\n",
       "      <td>8,726,728</td>\n",
       "      <td>1,461,047,318</td>\n",
       "      <td>0</td>\n",
       "      <td>10,850</td>\n",
       "      <td>60,217</td>\n",
       "      <td>1,461,107,535</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>12</td>\n",
       "      <td>南  玻Ａ</td>\n",
       "      <td>1,504,119</td>\n",
       "      <td>745,054,934</td>\n",
       "      <td>46,425</td>\n",
       "      <td>46,430</td>\n",
       "      <td>299,474</td>\n",
       "      <td>745,354,408</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>22</td>\n",
       "      <td>深赤湾Ａ</td>\n",
       "      <td>0</td>\n",
       "      <td>151,680,424</td>\n",
       "      <td>0</td>\n",
       "      <td>20,000</td>\n",
       "      <td>456,400</td>\n",
       "      <td>152,136,824</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>27</td>\n",
       "      <td>深圳能源</td>\n",
       "      <td>3,025,160</td>\n",
       "      <td>388,879,790</td>\n",
       "      <td>51,900</td>\n",
       "      <td>66,870</td>\n",
       "      <td>359,761</td>\n",
       "      <td>389,239,551</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>28</td>\n",
       "      <td>国药一致</td>\n",
       "      <td>3,075,739</td>\n",
       "      <td>283,508,579</td>\n",
       "      <td>4,000</td>\n",
       "      <td>6,000</td>\n",
       "      <td>311,400</td>\n",
       "      <td>283,819,979</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>30</td>\n",
       "      <td>富奥股份</td>\n",
       "      <td>1,648,597</td>\n",
       "      <td>119,628,352</td>\n",
       "      <td>10,000</td>\n",
       "      <td>21,600</td>\n",
       "      <td>155,304</td>\n",
       "      <td>119,783,656</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>31</td>\n",
       "      <td>中粮地产</td>\n",
       "      <td>7,368,446</td>\n",
       "      <td>612,596,106</td>\n",
       "      <td>139,369</td>\n",
       "      <td>140,569</td>\n",
       "      <td>950,246</td>\n",
       "      <td>613,546,352</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>36</td>\n",
       "      <td>华联控股</td>\n",
       "      <td>1,499,557</td>\n",
       "      <td>467,123,226</td>\n",
       "      <td>0</td>\n",
       "      <td>129,199</td>\n",
       "      <td>936,693</td>\n",
       "      <td>468,059,919</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>39</td>\n",
       "      <td>中集集团</td>\n",
       "      <td>14,600,476</td>\n",
       "      <td>1,271,595,935</td>\n",
       "      <td>39,100</td>\n",
       "      <td>156,400</td>\n",
       "      <td>2,350,692</td>\n",
       "      <td>1,273,946,627</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>43</td>\n",
       "      <td>中航善达</td>\n",
       "      <td>3,128,072</td>\n",
       "      <td>413,216,931</td>\n",
       "      <td>0</td>\n",
       "      <td>6,900</td>\n",
       "      <td>53,199</td>\n",
       "      <td>413,270,130</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>46</td>\n",
       "      <td>泛海控股</td>\n",
       "      <td>4,755,999</td>\n",
       "      <td>449,925,018</td>\n",
       "      <td>194,400</td>\n",
       "      <td>369,700</td>\n",
       "      <td>2,513,960</td>\n",
       "      <td>452,438,978</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>49</td>\n",
       "      <td>德赛电池</td>\n",
       "      <td>6,077,506</td>\n",
       "      <td>444,560,873</td>\n",
       "      <td>1,100</td>\n",
       "      <td>10,883</td>\n",
       "      <td>336,285</td>\n",
       "      <td>444,897,158</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>50</td>\n",
       "      <td>深天马Ａ</td>\n",
       "      <td>46,360,367</td>\n",
       "      <td>2,032,537,874</td>\n",
       "      <td>0</td>\n",
       "      <td>200</td>\n",
       "      <td>3,272</td>\n",
       "      <td>2,032,541,146</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>59</td>\n",
       "      <td>华锦股份</td>\n",
       "      <td>6,689,675</td>\n",
       "      <td>776,161,538</td>\n",
       "      <td>0</td>\n",
       "      <td>500</td>\n",
       "      <td>3,820</td>\n",
       "      <td>776,165,358</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>60</td>\n",
       "      <td>中金岭南</td>\n",
       "      <td>9,798,248</td>\n",
       "      <td>1,652,778,903</td>\n",
       "      <td>25,300</td>\n",
       "      <td>424,000</td>\n",
       "      <td>2,395,600</td>\n",
       "      <td>1,655,174,503</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>61</td>\n",
       "      <td>农 产 品</td>\n",
       "      <td>4,142,221</td>\n",
       "      <td>725,575,491</td>\n",
       "      <td>14,400</td>\n",
       "      <td>158,800</td>\n",
       "      <td>1,036,964</td>\n",
       "      <td>726,612,455</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>62</td>\n",
       "      <td>深圳华强</td>\n",
       "      <td>17,401,091</td>\n",
       "      <td>654,655,759</td>\n",
       "      <td>1,000</td>\n",
       "      <td>60,400</td>\n",
       "      <td>1,362,020</td>\n",
       "      <td>656,017,779</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>63</td>\n",
       "      <td>中兴通讯</td>\n",
       "      <td>91,296</td>\n",
       "      <td>3,115,291,367</td>\n",
       "      <td>0</td>\n",
       "      <td>160,933</td>\n",
       "      <td>4,081,260</td>\n",
       "      <td>3,119,372,627</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>69</td>\n",
       "      <td>华侨城Ａ</td>\n",
       "      <td>15,586,025</td>\n",
       "      <td>1,508,077,766</td>\n",
       "      <td>26,300</td>\n",
       "      <td>202,700</td>\n",
       "      <td>1,621,600</td>\n",
       "      <td>1,509,699,366</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>78</td>\n",
       "      <td>海王生物</td>\n",
       "      <td>5,785,679</td>\n",
       "      <td>615,160,000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>615,160,000</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>88</td>\n",
       "      <td>盐 田 港</td>\n",
       "      <td>14,261,497</td>\n",
       "      <td>357,820,252</td>\n",
       "      <td>72,700</td>\n",
       "      <td>262,629</td>\n",
       "      <td>1,867,292</td>\n",
       "      <td>359,687,544</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>89</td>\n",
       "      <td>深圳机场</td>\n",
       "      <td>21,182,946</td>\n",
       "      <td>410,122,705</td>\n",
       "      <td>17,500</td>\n",
       "      <td>58,900</td>\n",
       "      <td>487,103</td>\n",
       "      <td>410,609,808</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>90</td>\n",
       "      <td>天健集团</td>\n",
       "      <td>2,616,961</td>\n",
       "      <td>447,316,531</td>\n",
       "      <td>0</td>\n",
       "      <td>116,000</td>\n",
       "      <td>995,280</td>\n",
       "      <td>448,311,811</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>99</td>\n",
       "      <td>中信海直</td>\n",
       "      <td>5,414,966</td>\n",
       "      <td>324,192,124</td>\n",
       "      <td>26,500</td>\n",
       "      <td>50,000</td>\n",
       "      <td>362,000</td>\n",
       "      <td>324,554,124</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>100</td>\n",
       "      <td>TCL 集团</td>\n",
       "      <td>27,065,851</td>\n",
       "      <td>2,327,379,417</td>\n",
       "      <td>121,100</td>\n",
       "      <td>434,400</td>\n",
       "      <td>1,337,952</td>\n",
       "      <td>2,328,717,369</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>151</td>\n",
       "      <td>中成股份</td>\n",
       "      <td>40,512,758</td>\n",
       "      <td>400,141,913</td>\n",
       "      <td>95,000</td>\n",
       "      <td>224,200</td>\n",
       "      <td>2,791,290</td>\n",
       "      <td>402,933,203</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>156</td>\n",
       "      <td>华数传媒</td>\n",
       "      <td>0</td>\n",
       "      <td>605,950,224</td>\n",
       "      <td>0</td>\n",
       "      <td>14,100</td>\n",
       "      <td>160,740</td>\n",
       "      <td>606,110,964</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>405</th>\n",
       "      <td>300072</td>\n",
       "      <td>三聚环保</td>\n",
       "      <td>30,715,680</td>\n",
       "      <td>2,611,041,811</td>\n",
       "      <td>600</td>\n",
       "      <td>124,722</td>\n",
       "      <td>3,212,839</td>\n",
       "      <td>2,614,254,650</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>406</th>\n",
       "      <td>300079</td>\n",
       "      <td>数码科技</td>\n",
       "      <td>25,765,151</td>\n",
       "      <td>1,000,518,846</td>\n",
       "      <td>60,000</td>\n",
       "      <td>60,000</td>\n",
       "      <td>239,400</td>\n",
       "      <td>1,000,758,246</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>407</th>\n",
       "      <td>300088</td>\n",
       "      <td>长信科技</td>\n",
       "      <td>20,344,642</td>\n",
       "      <td>1,652,967,060</td>\n",
       "      <td>0</td>\n",
       "      <td>60,000</td>\n",
       "      <td>378,000</td>\n",
       "      <td>1,653,345,060</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>408</th>\n",
       "      <td>300090</td>\n",
       "      <td>盛运环保</td>\n",
       "      <td>0</td>\n",
       "      <td>1,277,740,761</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1,277,740,761</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>409</th>\n",
       "      <td>300113</td>\n",
       "      <td>顺网科技</td>\n",
       "      <td>32,384,337</td>\n",
       "      <td>718,297,017</td>\n",
       "      <td>12,900</td>\n",
       "      <td>127,059</td>\n",
       "      <td>2,190,497</td>\n",
       "      <td>720,487,514</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>410</th>\n",
       "      <td>300115</td>\n",
       "      <td>长盈精密</td>\n",
       "      <td>14,368,967</td>\n",
       "      <td>722,898,009</td>\n",
       "      <td>0</td>\n",
       "      <td>18,091</td>\n",
       "      <td>246,038</td>\n",
       "      <td>723,144,047</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>411</th>\n",
       "      <td>300122</td>\n",
       "      <td>智飞生物</td>\n",
       "      <td>56,843,685</td>\n",
       "      <td>980,223,867</td>\n",
       "      <td>68,000</td>\n",
       "      <td>160,337</td>\n",
       "      <td>7,269,680</td>\n",
       "      <td>987,493,547</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>412</th>\n",
       "      <td>300124</td>\n",
       "      <td>汇川技术</td>\n",
       "      <td>19,777,904</td>\n",
       "      <td>560,691,985</td>\n",
       "      <td>13,700</td>\n",
       "      <td>268,997</td>\n",
       "      <td>8,933,390</td>\n",
       "      <td>569,625,375</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>413</th>\n",
       "      <td>300128</td>\n",
       "      <td>锦富技术</td>\n",
       "      <td>0</td>\n",
       "      <td>725,569,349</td>\n",
       "      <td>0</td>\n",
       "      <td>46,700</td>\n",
       "      <td>327,834</td>\n",
       "      <td>725,897,183</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>414</th>\n",
       "      <td>300133</td>\n",
       "      <td>华策影视</td>\n",
       "      <td>7,783,342</td>\n",
       "      <td>794,684,331</td>\n",
       "      <td>27,200</td>\n",
       "      <td>147,300</td>\n",
       "      <td>1,546,650</td>\n",
       "      <td>796,230,981</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>415</th>\n",
       "      <td>300146</td>\n",
       "      <td>汤臣倍健</td>\n",
       "      <td>0</td>\n",
       "      <td>542,118,534</td>\n",
       "      <td>0</td>\n",
       "      <td>25,700</td>\n",
       "      <td>426,620</td>\n",
       "      <td>542,545,154</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>416</th>\n",
       "      <td>300147</td>\n",
       "      <td>香雪制药</td>\n",
       "      <td>25,970,654</td>\n",
       "      <td>485,034,888</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>485,034,888</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>417</th>\n",
       "      <td>300157</td>\n",
       "      <td>恒泰艾普</td>\n",
       "      <td>11,606,519</td>\n",
       "      <td>782,530,623</td>\n",
       "      <td>0</td>\n",
       "      <td>205,000</td>\n",
       "      <td>1,449,350</td>\n",
       "      <td>783,979,973</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>418</th>\n",
       "      <td>300168</td>\n",
       "      <td>万达信息</td>\n",
       "      <td>59,256,096</td>\n",
       "      <td>2,496,089,034</td>\n",
       "      <td>10,000</td>\n",
       "      <td>1,780,589</td>\n",
       "      <td>46,847,297</td>\n",
       "      <td>2,542,936,331</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>419</th>\n",
       "      <td>300170</td>\n",
       "      <td>汉得信息</td>\n",
       "      <td>65,581,119</td>\n",
       "      <td>900,662,786</td>\n",
       "      <td>11,000</td>\n",
       "      <td>101,825</td>\n",
       "      <td>1,476,463</td>\n",
       "      <td>902,139,249</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>420</th>\n",
       "      <td>300182</td>\n",
       "      <td>捷成股份</td>\n",
       "      <td>41,703,606</td>\n",
       "      <td>439,686,101</td>\n",
       "      <td>5,000</td>\n",
       "      <td>4,907</td>\n",
       "      <td>40,434</td>\n",
       "      <td>439,726,535</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>421</th>\n",
       "      <td>300191</td>\n",
       "      <td>潜能恒信</td>\n",
       "      <td>6,649,569</td>\n",
       "      <td>390,742,715</td>\n",
       "      <td>0</td>\n",
       "      <td>29,300</td>\n",
       "      <td>584,535</td>\n",
       "      <td>391,327,250</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>422</th>\n",
       "      <td>300199</td>\n",
       "      <td>翰宇药业</td>\n",
       "      <td>31,504,343</td>\n",
       "      <td>681,200,583</td>\n",
       "      <td>0</td>\n",
       "      <td>2,800</td>\n",
       "      <td>44,800</td>\n",
       "      <td>681,245,383</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>423</th>\n",
       "      <td>300202</td>\n",
       "      <td>聚龙股份</td>\n",
       "      <td>3,109,100</td>\n",
       "      <td>450,084,529</td>\n",
       "      <td>400</td>\n",
       "      <td>14,500</td>\n",
       "      <td>275,935</td>\n",
       "      <td>450,360,464</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>424</th>\n",
       "      <td>300203</td>\n",
       "      <td>聚光科技</td>\n",
       "      <td>7,085,305</td>\n",
       "      <td>643,790,626</td>\n",
       "      <td>0</td>\n",
       "      <td>8,135</td>\n",
       "      <td>195,647</td>\n",
       "      <td>643,986,273</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>425</th>\n",
       "      <td>300205</td>\n",
       "      <td>天喻信息</td>\n",
       "      <td>9,347,203</td>\n",
       "      <td>521,373,055</td>\n",
       "      <td>24,900</td>\n",
       "      <td>55,312</td>\n",
       "      <td>451,346</td>\n",
       "      <td>521,824,401</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>426</th>\n",
       "      <td>300212</td>\n",
       "      <td>易华录</td>\n",
       "      <td>35,051,497</td>\n",
       "      <td>980,938,399</td>\n",
       "      <td>0</td>\n",
       "      <td>46,623</td>\n",
       "      <td>1,422,468</td>\n",
       "      <td>982,360,867</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>427</th>\n",
       "      <td>300226</td>\n",
       "      <td>上海钢联</td>\n",
       "      <td>48,210,420</td>\n",
       "      <td>668,510,788</td>\n",
       "      <td>24,000</td>\n",
       "      <td>55,700</td>\n",
       "      <td>3,353,140</td>\n",
       "      <td>671,863,928</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>428</th>\n",
       "      <td>300251</td>\n",
       "      <td>光线传媒</td>\n",
       "      <td>35,735,615</td>\n",
       "      <td>879,793,874</td>\n",
       "      <td>64,500</td>\n",
       "      <td>596,877</td>\n",
       "      <td>6,028,458</td>\n",
       "      <td>885,822,332</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>429</th>\n",
       "      <td>300253</td>\n",
       "      <td>卫宁健康</td>\n",
       "      <td>0</td>\n",
       "      <td>866,826,855</td>\n",
       "      <td>0</td>\n",
       "      <td>2,950,092</td>\n",
       "      <td>39,590,235</td>\n",
       "      <td>906,417,090</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>430</th>\n",
       "      <td>300257</td>\n",
       "      <td>开山股份</td>\n",
       "      <td>11,292,037</td>\n",
       "      <td>586,953,695</td>\n",
       "      <td>0</td>\n",
       "      <td>12,300</td>\n",
       "      <td>214,020</td>\n",
       "      <td>587,167,715</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>431</th>\n",
       "      <td>300273</td>\n",
       "      <td>和佳股份</td>\n",
       "      <td>6,079,367</td>\n",
       "      <td>738,565,832</td>\n",
       "      <td>0</td>\n",
       "      <td>122,783</td>\n",
       "      <td>911,050</td>\n",
       "      <td>739,476,882</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>432</th>\n",
       "      <td>300274</td>\n",
       "      <td>阳光电源</td>\n",
       "      <td>47,447,779</td>\n",
       "      <td>987,824,876</td>\n",
       "      <td>106,400</td>\n",
       "      <td>889,155</td>\n",
       "      <td>8,589,236</td>\n",
       "      <td>996,414,112</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>433</th>\n",
       "      <td>300355</td>\n",
       "      <td>蒙草生态</td>\n",
       "      <td>39,180,844</td>\n",
       "      <td>1,423,362,043</td>\n",
       "      <td>0</td>\n",
       "      <td>364,000</td>\n",
       "      <td>2,256,800</td>\n",
       "      <td>1,425,618,843</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>434</th>\n",
       "      <td>300498</td>\n",
       "      <td>温氏股份</td>\n",
       "      <td>10,957,490</td>\n",
       "      <td>579,927,996</td>\n",
       "      <td>0</td>\n",
       "      <td>2,500</td>\n",
       "      <td>57,150</td>\n",
       "      <td>579,985,146</td>\n",
       "      <td>2018-06-14</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>435 rows × 9 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       证券代码    证券简称     融资买入额(元)        融资余额(元) 融券卖出量(股)    融券余量(股)  \\\n",
       "0         1    平安银行  191,196,305  5,194,292,165   81,500    458,900   \n",
       "1         2   万  科Ａ   87,149,528  2,378,768,960  176,490  1,542,441   \n",
       "2         6    深振业Ａ   18,198,993    942,991,163   11,600    122,700   \n",
       "3         9    中国宝安    8,726,728  1,461,047,318        0     10,850   \n",
       "4        12   南  玻Ａ    1,504,119    745,054,934   46,425     46,430   \n",
       "5        22    深赤湾Ａ            0    151,680,424        0     20,000   \n",
       "6        27    深圳能源    3,025,160    388,879,790   51,900     66,870   \n",
       "7        28    国药一致    3,075,739    283,508,579    4,000      6,000   \n",
       "8        30    富奥股份    1,648,597    119,628,352   10,000     21,600   \n",
       "9        31    中粮地产    7,368,446    612,596,106  139,369    140,569   \n",
       "10       36    华联控股    1,499,557    467,123,226        0    129,199   \n",
       "11       39    中集集团   14,600,476  1,271,595,935   39,100    156,400   \n",
       "12       43    中航善达    3,128,072    413,216,931        0      6,900   \n",
       "13       46    泛海控股    4,755,999    449,925,018  194,400    369,700   \n",
       "14       49    德赛电池    6,077,506    444,560,873    1,100     10,883   \n",
       "15       50    深天马Ａ   46,360,367  2,032,537,874        0        200   \n",
       "16       59    华锦股份    6,689,675    776,161,538        0        500   \n",
       "17       60    中金岭南    9,798,248  1,652,778,903   25,300    424,000   \n",
       "18       61   农 产 品    4,142,221    725,575,491   14,400    158,800   \n",
       "19       62    深圳华强   17,401,091    654,655,759    1,000     60,400   \n",
       "20       63    中兴通讯       91,296  3,115,291,367        0    160,933   \n",
       "21       69    华侨城Ａ   15,586,025  1,508,077,766   26,300    202,700   \n",
       "22       78    海王生物    5,785,679    615,160,000        0          0   \n",
       "23       88   盐 田 港   14,261,497    357,820,252   72,700    262,629   \n",
       "24       89    深圳机场   21,182,946    410,122,705   17,500     58,900   \n",
       "25       90    天健集团    2,616,961    447,316,531        0    116,000   \n",
       "26       99    中信海直    5,414,966    324,192,124   26,500     50,000   \n",
       "27      100  TCL 集团   27,065,851  2,327,379,417  121,100    434,400   \n",
       "28      151    中成股份   40,512,758    400,141,913   95,000    224,200   \n",
       "29      156    华数传媒            0    605,950,224        0     14,100   \n",
       "..      ...     ...          ...            ...      ...        ...   \n",
       "405  300072    三聚环保   30,715,680  2,611,041,811      600    124,722   \n",
       "406  300079    数码科技   25,765,151  1,000,518,846   60,000     60,000   \n",
       "407  300088    长信科技   20,344,642  1,652,967,060        0     60,000   \n",
       "408  300090    盛运环保            0  1,277,740,761        0          0   \n",
       "409  300113    顺网科技   32,384,337    718,297,017   12,900    127,059   \n",
       "410  300115    长盈精密   14,368,967    722,898,009        0     18,091   \n",
       "411  300122    智飞生物   56,843,685    980,223,867   68,000    160,337   \n",
       "412  300124    汇川技术   19,777,904    560,691,985   13,700    268,997   \n",
       "413  300128    锦富技术            0    725,569,349        0     46,700   \n",
       "414  300133    华策影视    7,783,342    794,684,331   27,200    147,300   \n",
       "415  300146    汤臣倍健            0    542,118,534        0     25,700   \n",
       "416  300147    香雪制药   25,970,654    485,034,888        0          0   \n",
       "417  300157    恒泰艾普   11,606,519    782,530,623        0    205,000   \n",
       "418  300168    万达信息   59,256,096  2,496,089,034   10,000  1,780,589   \n",
       "419  300170    汉得信息   65,581,119    900,662,786   11,000    101,825   \n",
       "420  300182    捷成股份   41,703,606    439,686,101    5,000      4,907   \n",
       "421  300191    潜能恒信    6,649,569    390,742,715        0     29,300   \n",
       "422  300199    翰宇药业   31,504,343    681,200,583        0      2,800   \n",
       "423  300202    聚龙股份    3,109,100    450,084,529      400     14,500   \n",
       "424  300203    聚光科技    7,085,305    643,790,626        0      8,135   \n",
       "425  300205    天喻信息    9,347,203    521,373,055   24,900     55,312   \n",
       "426  300212   易华录     35,051,497    980,938,399        0     46,623   \n",
       "427  300226    上海钢联   48,210,420    668,510,788   24,000     55,700   \n",
       "428  300251    光线传媒   35,735,615    879,793,874   64,500    596,877   \n",
       "429  300253    卫宁健康            0    866,826,855        0  2,950,092   \n",
       "430  300257    开山股份   11,292,037    586,953,695        0     12,300   \n",
       "431  300273    和佳股份    6,079,367    738,565,832        0    122,783   \n",
       "432  300274    阳光电源   47,447,779    987,824,876  106,400    889,155   \n",
       "433  300355    蒙草生态   39,180,844  1,423,362,043        0    364,000   \n",
       "434  300498    温氏股份   10,957,490    579,927,996        0      2,500   \n",
       "\n",
       "        融券余额(元)      融资融券余额(元)        date  \n",
       "0     4,621,123  5,198,913,288  2018-06-14  \n",
       "1    42,216,610  2,420,985,570  2018-06-14  \n",
       "2       850,311    943,841,474  2018-06-14  \n",
       "3        60,217  1,461,107,535  2018-06-14  \n",
       "4       299,474    745,354,408  2018-06-14  \n",
       "5       456,400    152,136,824  2018-06-14  \n",
       "6       359,761    389,239,551  2018-06-14  \n",
       "7       311,400    283,819,979  2018-06-14  \n",
       "8       155,304    119,783,656  2018-06-14  \n",
       "9       950,246    613,546,352  2018-06-14  \n",
       "10      936,693    468,059,919  2018-06-14  \n",
       "11    2,350,692  1,273,946,627  2018-06-14  \n",
       "12       53,199    413,270,130  2018-06-14  \n",
       "13    2,513,960    452,438,978  2018-06-14  \n",
       "14      336,285    444,897,158  2018-06-14  \n",
       "15        3,272  2,032,541,146  2018-06-14  \n",
       "16        3,820    776,165,358  2018-06-14  \n",
       "17    2,395,600  1,655,174,503  2018-06-14  \n",
       "18    1,036,964    726,612,455  2018-06-14  \n",
       "19    1,362,020    656,017,779  2018-06-14  \n",
       "20    4,081,260  3,119,372,627  2018-06-14  \n",
       "21    1,621,600  1,509,699,366  2018-06-14  \n",
       "22            0    615,160,000  2018-06-14  \n",
       "23    1,867,292    359,687,544  2018-06-14  \n",
       "24      487,103    410,609,808  2018-06-14  \n",
       "25      995,280    448,311,811  2018-06-14  \n",
       "26      362,000    324,554,124  2018-06-14  \n",
       "27    1,337,952  2,328,717,369  2018-06-14  \n",
       "28    2,791,290    402,933,203  2018-06-14  \n",
       "29      160,740    606,110,964  2018-06-14  \n",
       "..          ...            ...         ...  \n",
       "405   3,212,839  2,614,254,650  2018-06-14  \n",
       "406     239,400  1,000,758,246  2018-06-14  \n",
       "407     378,000  1,653,345,060  2018-06-14  \n",
       "408           0  1,277,740,761  2018-06-14  \n",
       "409   2,190,497    720,487,514  2018-06-14  \n",
       "410     246,038    723,144,047  2018-06-14  \n",
       "411   7,269,680    987,493,547  2018-06-14  \n",
       "412   8,933,390    569,625,375  2018-06-14  \n",
       "413     327,834    725,897,183  2018-06-14  \n",
       "414   1,546,650    796,230,981  2018-06-14  \n",
       "415     426,620    542,545,154  2018-06-14  \n",
       "416           0    485,034,888  2018-06-14  \n",
       "417   1,449,350    783,979,973  2018-06-14  \n",
       "418  46,847,297  2,542,936,331  2018-06-14  \n",
       "419   1,476,463    902,139,249  2018-06-14  \n",
       "420      40,434    439,726,535  2018-06-14  \n",
       "421     584,535    391,327,250  2018-06-14  \n",
       "422      44,800    681,245,383  2018-06-14  \n",
       "423     275,935    450,360,464  2018-06-14  \n",
       "424     195,647    643,986,273  2018-06-14  \n",
       "425     451,346    521,824,401  2018-06-14  \n",
       "426   1,422,468    982,360,867  2018-06-14  \n",
       "427   3,353,140    671,863,928  2018-06-14  \n",
       "428   6,028,458    885,822,332  2018-06-14  \n",
       "429  39,590,235    906,417,090  2018-06-14  \n",
       "430     214,020    587,167,715  2018-06-14  \n",
       "431     911,050    739,476,882  2018-06-14  \n",
       "432   8,589,236    996,414,112  2018-06-14  \n",
       "433   2,256,800  1,425,618,843  2018-06-14  \n",
       "434      57,150    579,985,146  2018-06-14  \n",
       "\n",
       "[435 rows x 9 columns]"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_detail"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [],
   "source": [
    "df = stock.get_dividend('600000.SH')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>COMPANY_CODE</th>\n",
       "      <th>DIVIDEND_DATE</th>\n",
       "      <th>DIVIDEND_PER_SHARE1_A</th>\n",
       "      <th>DIVIDEND_PER_SHARE2_A</th>\n",
       "      <th>EXCHANGE_RATE</th>\n",
       "      <th>EX_DIVIDEND_DATE_A</th>\n",
       "      <th>FULL_NAME</th>\n",
       "      <th>RECORD_DATE_A</th>\n",
       "      <th>SECURITY_ABBR_A</th>\n",
       "      <th>SECURITY_CODE_A</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>600000</td>\n",
       "      <td>2017-05-24</td>\n",
       "      <td>0.200</td>\n",
       "      <td>0.200</td>\n",
       "      <td>-</td>\n",
       "      <td>2017-05-25</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2017-05-24</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>600000</td>\n",
       "      <td>2016-06-22</td>\n",
       "      <td>0.515</td>\n",
       "      <td>0.515</td>\n",
       "      <td>-</td>\n",
       "      <td>2016-06-23</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2016-06-22</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>600000</td>\n",
       "      <td>2015-06-19</td>\n",
       "      <td>0.719</td>\n",
       "      <td>0.757</td>\n",
       "      <td>-</td>\n",
       "      <td>2015-06-23</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2015-06-19</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>600000</td>\n",
       "      <td>2014-06-23</td>\n",
       "      <td>0.627</td>\n",
       "      <td>0.660</td>\n",
       "      <td>-</td>\n",
       "      <td>2014-06-24</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2014-06-23</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>600000</td>\n",
       "      <td>2013-05-31</td>\n",
       "      <td>0.523</td>\n",
       "      <td>0.550</td>\n",
       "      <td>-</td>\n",
       "      <td>2013-06-03</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2013-05-31</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>600000</td>\n",
       "      <td>2012-06-25</td>\n",
       "      <td>0.270</td>\n",
       "      <td>0.300</td>\n",
       "      <td>-</td>\n",
       "      <td>2012-06-26</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2012-06-25</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>600000</td>\n",
       "      <td>2011-06-02</td>\n",
       "      <td>0.114</td>\n",
       "      <td>0.160</td>\n",
       "      <td>-</td>\n",
       "      <td>2011-06-03</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2011-06-02</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>600000</td>\n",
       "      <td>2010-06-09</td>\n",
       "      <td>0.105</td>\n",
       "      <td>0.150</td>\n",
       "      <td>-</td>\n",
       "      <td>2010-06-10</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2010-06-09</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>600000</td>\n",
       "      <td>2009-06-08</td>\n",
       "      <td>0.167</td>\n",
       "      <td>0.230</td>\n",
       "      <td>-</td>\n",
       "      <td>2009-06-09</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2009-06-08</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>600000</td>\n",
       "      <td>2008-04-23</td>\n",
       "      <td>0.114</td>\n",
       "      <td>0.160</td>\n",
       "      <td>-</td>\n",
       "      <td>2008-04-24</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2008-04-23</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>600000</td>\n",
       "      <td>2007-07-17</td>\n",
       "      <td>0.135</td>\n",
       "      <td>0.150</td>\n",
       "      <td>-</td>\n",
       "      <td>2007-07-18</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2007-07-17</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>600000</td>\n",
       "      <td>2006-05-24</td>\n",
       "      <td>0.117</td>\n",
       "      <td>0.130</td>\n",
       "      <td>-</td>\n",
       "      <td>2006-05-25</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2006-05-24</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>600000</td>\n",
       "      <td>2005-05-11</td>\n",
       "      <td>0.096</td>\n",
       "      <td>0.120</td>\n",
       "      <td>-</td>\n",
       "      <td>2005-05-12</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2005-05-11</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>600000</td>\n",
       "      <td>2004-05-19</td>\n",
       "      <td>0.088</td>\n",
       "      <td>0.110</td>\n",
       "      <td>-</td>\n",
       "      <td>2004-05-20</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2004-05-19</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>600000</td>\n",
       "      <td>2002-08-21</td>\n",
       "      <td>0.160</td>\n",
       "      <td>0.200</td>\n",
       "      <td>-</td>\n",
       "      <td>2002-08-22</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2002-08-21</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>600000</td>\n",
       "      <td>2000-07-05</td>\n",
       "      <td>0.125</td>\n",
       "      <td>0.150</td>\n",
       "      <td>-</td>\n",
       "      <td>2000-07-06</td>\n",
       "      <td>上海浦东发展银行股份有限公司</td>\n",
       "      <td>2000-07-05</td>\n",
       "      <td>浦发银行</td>\n",
       "      <td>600000</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   COMPANY_CODE DIVIDEND_DATE DIVIDEND_PER_SHARE1_A DIVIDEND_PER_SHARE2_A  \\\n",
       "0        600000    2017-05-24                 0.200                 0.200   \n",
       "1        600000    2016-06-22                 0.515                 0.515   \n",
       "2        600000    2015-06-19                 0.719                 0.757   \n",
       "3        600000    2014-06-23                 0.627                 0.660   \n",
       "4        600000    2013-05-31                 0.523                 0.550   \n",
       "5        600000    2012-06-25                 0.270                 0.300   \n",
       "6        600000    2011-06-02                 0.114                 0.160   \n",
       "7        600000    2010-06-09                 0.105                 0.150   \n",
       "8        600000    2009-06-08                 0.167                 0.230   \n",
       "9        600000    2008-04-23                 0.114                 0.160   \n",
       "10       600000    2007-07-17                 0.135                 0.150   \n",
       "11       600000    2006-05-24                 0.117                 0.130   \n",
       "12       600000    2005-05-11                 0.096                 0.120   \n",
       "13       600000    2004-05-19                 0.088                 0.110   \n",
       "14       600000    2002-08-21                 0.160                 0.200   \n",
       "15       600000    2000-07-05                 0.125                 0.150   \n",
       "\n",
       "   EXCHANGE_RATE EX_DIVIDEND_DATE_A       FULL_NAME RECORD_DATE_A  \\\n",
       "0              -         2017-05-25  上海浦东发展银行股份有限公司    2017-05-24   \n",
       "1              -         2016-06-23  上海浦东发展银行股份有限公司    2016-06-22   \n",
       "2              -         2015-06-23  上海浦东发展银行股份有限公司    2015-06-19   \n",
       "3              -         2014-06-24  上海浦东发展银行股份有限公司    2014-06-23   \n",
       "4              -         2013-06-03  上海浦东发展银行股份有限公司    2013-05-31   \n",
       "5              -         2012-06-26  上海浦东发展银行股份有限公司    2012-06-25   \n",
       "6              -         2011-06-03  上海浦东发展银行股份有限公司    2011-06-02   \n",
       "7              -         2010-06-10  上海浦东发展银行股份有限公司    2010-06-09   \n",
       "8              -         2009-06-09  上海浦东发展银行股份有限公司    2009-06-08   \n",
       "9              -         2008-04-24  上海浦东发展银行股份有限公司    2008-04-23   \n",
       "10             -         2007-07-18  上海浦东发展银行股份有限公司    2007-07-17   \n",
       "11             -         2006-05-25  上海浦东发展银行股份有限公司    2006-05-24   \n",
       "12             -         2005-05-12  上海浦东发展银行股份有限公司    2005-05-11   \n",
       "13             -         2004-05-20  上海浦东发展银行股份有限公司    2004-05-19   \n",
       "14             -         2002-08-22  上海浦东发展银行股份有限公司    2002-08-21   \n",
       "15             -         2000-07-06  上海浦东发展银行股份有限公司    2000-07-05   \n",
       "\n",
       "   SECURITY_ABBR_A SECURITY_CODE_A  \n",
       "0             浦发银行          600000  \n",
       "1             浦发银行          600000  \n",
       "2             浦发银行          600000  \n",
       "3             浦发银行          600000  \n",
       "4             浦发银行          600000  \n",
       "5             浦发银行          600000  \n",
       "6             浦发银行          600000  \n",
       "7             浦发银行          600000  \n",
       "8             浦发银行          600000  \n",
       "9             浦发银行          600000  \n",
       "10            浦发银行          600000  \n",
       "11            浦发银行          600000  \n",
       "12            浦发银行          600000  \n",
       "13            浦发银行          600000  \n",
       "14            浦发银行          600000  \n",
       "15            浦发银行          600000  "
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [],
   "source": [
    "from opendatatools import futures"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>成交量</th>\n",
       "      <th>成交量增减</th>\n",
       "      <th>持买仓量</th>\n",
       "      <th>持买仓量增减</th>\n",
       "      <th>持卖仓量</th>\n",
       "      <th>持卖仓量增减</th>\n",
       "      <th>symbol</th>\n",
       "      <th>成交量期货公司</th>\n",
       "      <th>持买仓量期货公司</th>\n",
       "      <th>持卖仓量期货公司</th>\n",
       "      <th>名次</th>\n",
       "      <th>date</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>8987</td>\n",
       "      <td>6036</td>\n",
       "      <td>6820</td>\n",
       "      <td>-2030</td>\n",
       "      <td>9439</td>\n",
       "      <td>-657</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>东证期货</td>\n",
       "      <td>金瑞期货</td>\n",
       "      <td>五矿经易</td>\n",
       "      <td>1</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>7038</td>\n",
       "      <td>3705</td>\n",
       "      <td>5157</td>\n",
       "      <td>-144</td>\n",
       "      <td>4374</td>\n",
       "      <td>436</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>金瑞期货</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>金瑞期货</td>\n",
       "      <td>2</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5248</td>\n",
       "      <td>2236</td>\n",
       "      <td>4214</td>\n",
       "      <td>185</td>\n",
       "      <td>3733</td>\n",
       "      <td>-760</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>中银国际</td>\n",
       "      <td>铜冠金源</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>3</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>3657</td>\n",
       "      <td>787</td>\n",
       "      <td>3545</td>\n",
       "      <td>-4</td>\n",
       "      <td>3647</td>\n",
       "      <td>-167</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>鲁证期货</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>格林大华</td>\n",
       "      <td>4</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>3528</td>\n",
       "      <td>317</td>\n",
       "      <td>2942</td>\n",
       "      <td>-577</td>\n",
       "      <td>3262</td>\n",
       "      <td>130</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>国贸期货</td>\n",
       "      <td>中粮期货</td>\n",
       "      <td>5</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>3225</td>\n",
       "      <td>1076</td>\n",
       "      <td>2471</td>\n",
       "      <td>-378</td>\n",
       "      <td>2578</td>\n",
       "      <td>-67</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>国投安信</td>\n",
       "      <td>中粮期货</td>\n",
       "      <td>华安期货</td>\n",
       "      <td>6</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>3010</td>\n",
       "      <td>286</td>\n",
       "      <td>2354</td>\n",
       "      <td>-348</td>\n",
       "      <td>2571</td>\n",
       "      <td>-182</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>五矿经易</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>7</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2959</td>\n",
       "      <td>1833</td>\n",
       "      <td>1605</td>\n",
       "      <td>219</td>\n",
       "      <td>2315</td>\n",
       "      <td>-308</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>上海中期</td>\n",
       "      <td>方正中期</td>\n",
       "      <td>建信期货</td>\n",
       "      <td>8</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2951</td>\n",
       "      <td>1363</td>\n",
       "      <td>1489</td>\n",
       "      <td>51</td>\n",
       "      <td>1604</td>\n",
       "      <td>198</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>华安期货</td>\n",
       "      <td>迈科期货</td>\n",
       "      <td>兴业期货</td>\n",
       "      <td>9</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2567</td>\n",
       "      <td>1391</td>\n",
       "      <td>1434</td>\n",
       "      <td>-418</td>\n",
       "      <td>1546</td>\n",
       "      <td>-214</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>华安期货</td>\n",
       "      <td>国投安信</td>\n",
       "      <td>10</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2501</td>\n",
       "      <td>389</td>\n",
       "      <td>1376</td>\n",
       "      <td>54</td>\n",
       "      <td>1468</td>\n",
       "      <td>159</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>铜冠金源</td>\n",
       "      <td>一德期货</td>\n",
       "      <td>兴证期货</td>\n",
       "      <td>11</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2039</td>\n",
       "      <td>-420</td>\n",
       "      <td>1370</td>\n",
       "      <td>141</td>\n",
       "      <td>1349</td>\n",
       "      <td>-148</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>五矿经易</td>\n",
       "      <td>建信期货</td>\n",
       "      <td>中银国际</td>\n",
       "      <td>12</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>1736</td>\n",
       "      <td>1549</td>\n",
       "      <td>1244</td>\n",
       "      <td>-39</td>\n",
       "      <td>1230</td>\n",
       "      <td>-238</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>国贸期货</td>\n",
       "      <td>南华期货</td>\n",
       "      <td>云晨期货</td>\n",
       "      <td>13</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>1584</td>\n",
       "      <td>224</td>\n",
       "      <td>1034</td>\n",
       "      <td>78</td>\n",
       "      <td>1211</td>\n",
       "      <td>-22</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>华泰期货</td>\n",
       "      <td>上海大陆</td>\n",
       "      <td>鲁证期货</td>\n",
       "      <td>14</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>1500</td>\n",
       "      <td>444</td>\n",
       "      <td>902</td>\n",
       "      <td>141</td>\n",
       "      <td>1054</td>\n",
       "      <td>747</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>华泰期货</td>\n",
       "      <td>国贸期货</td>\n",
       "      <td>15</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>1289</td>\n",
       "      <td>1039</td>\n",
       "      <td>898</td>\n",
       "      <td>-108</td>\n",
       "      <td>992</td>\n",
       "      <td>-298</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>华金期货</td>\n",
       "      <td>弘业期货</td>\n",
       "      <td>铜冠金源</td>\n",
       "      <td>16</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1172</td>\n",
       "      <td>188</td>\n",
       "      <td>882</td>\n",
       "      <td>-122</td>\n",
       "      <td>980</td>\n",
       "      <td>67</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>中粮期货</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>17</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1139</td>\n",
       "      <td>660</td>\n",
       "      <td>799</td>\n",
       "      <td>-339</td>\n",
       "      <td>962</td>\n",
       "      <td>-145</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>宏源期货</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>一德期货</td>\n",
       "      <td>18</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>1096</td>\n",
       "      <td>240</td>\n",
       "      <td>767</td>\n",
       "      <td>20</td>\n",
       "      <td>866</td>\n",
       "      <td>110</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>中融汇信</td>\n",
       "      <td>银河期货</td>\n",
       "      <td>中钢期货</td>\n",
       "      <td>19</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>1044</td>\n",
       "      <td>750</td>\n",
       "      <td>712</td>\n",
       "      <td>41</td>\n",
       "      <td>847</td>\n",
       "      <td>-58</td>\n",
       "      <td>cu1806</td>\n",
       "      <td>兴证期货</td>\n",
       "      <td>国投安信</td>\n",
       "      <td>中信建投</td>\n",
       "      <td>20</td>\n",
       "      <td>20180530</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     成交量  成交量增减  持买仓量  持买仓量增减  持卖仓量  持卖仓量增减  symbol 成交量期货公司 持买仓量期货公司 持卖仓量期货公司  \\\n",
       "2   8987   6036  6820   -2030  9439    -657  cu1806    东证期货     金瑞期货     五矿经易   \n",
       "3   7038   3705  5157    -144  4374     436  cu1806    金瑞期货     中信期货     金瑞期货   \n",
       "4   5248   2236  4214     185  3733    -760  cu1806    中银国际     铜冠金源     中信期货   \n",
       "5   3657    787  3545      -4  3647    -167  cu1806    鲁证期货     国泰君安     格林大华   \n",
       "6   3528    317  2942    -577  3262     130  cu1806    中信期货     国贸期货     中粮期货   \n",
       "7   3225   1076  2471    -378  2578     -67  cu1806    国投安信     中粮期货     华安期货   \n",
       "8   3010    286  2354    -348  2571    -182  cu1806    海通期货     五矿经易     海通期货   \n",
       "9   2959   1833  1605     219  2315    -308  cu1806    上海中期     方正中期     建信期货   \n",
       "10  2951   1363  1489      51  1604     198  cu1806    华安期货     迈科期货     兴业期货   \n",
       "11  2567   1391  1434    -418  1546    -214  cu1806    国泰君安     华安期货     国投安信   \n",
       "12  2501    389  1376      54  1468     159  cu1806    铜冠金源     一德期货     兴证期货   \n",
       "13  2039   -420  1370     141  1349    -148  cu1806    五矿经易     建信期货     中银国际   \n",
       "14  1736   1549  1244     -39  1230    -238  cu1806    国贸期货     南华期货     云晨期货   \n",
       "15  1584    224  1034      78  1211     -22  cu1806    华泰期货     上海大陆     鲁证期货   \n",
       "16  1500    444   902     141  1054     747  cu1806    永安期货     华泰期货     国贸期货   \n",
       "17  1289   1039   898    -108   992    -298  cu1806    华金期货     弘业期货     铜冠金源   \n",
       "18  1172    188   882    -122   980      67  cu1806    中粮期货     海通期货     永安期货   \n",
       "19  1139    660   799    -339   962    -145  cu1806    宏源期货     永安期货     一德期货   \n",
       "20  1096    240   767      20   866     110  cu1806    中融汇信     银河期货     中钢期货   \n",
       "21  1044    750   712      41   847     -58  cu1806    兴证期货     国投安信     中信建投   \n",
       "\n",
       "    名次      date  \n",
       "2    1  20180530  \n",
       "3    2  20180530  \n",
       "4    3  20180530  \n",
       "5    4  20180530  \n",
       "6    5  20180530  \n",
       "7    6  20180530  \n",
       "8    7  20180530  \n",
       "9    8  20180530  \n",
       "10   9  20180530  \n",
       "11  10  20180530  \n",
       "12  11  20180530  \n",
       "13  12  20180530  \n",
       "14  13  20180530  \n",
       "15  14  20180530  \n",
       "16  15  20180530  \n",
       "17  16  20180530  \n",
       "18  17  20180530  \n",
       "19  18  20180530  \n",
       "20  19  20180530  \n",
       "21  20  20180530  "
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df, msg = futures.get_trade_rank('SHF', date='2018-05-30')\n",
    "df[df.symbol == 'cu1806']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "D:\\QuantosFinanceTerminal\\python\\lib\\re.py:212: FutureWarning: split() requires a non-empty pattern match.\n",
      "  return _compile(pattern, flags).split(string, maxsplit)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>名次</th>\n",
       "      <th>成交量期货公司</th>\n",
       "      <th>成交量</th>\n",
       "      <th>成交量增减</th>\n",
       "      <th>持买仓量期货公司</th>\n",
       "      <th>持买仓量</th>\n",
       "      <th>持买仓量增减</th>\n",
       "      <th>持卖仓量期货公司</th>\n",
       "      <th>持卖仓量</th>\n",
       "      <th>持卖仓量增减</th>\n",
       "      <th>symbol</th>\n",
       "      <th>date</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>157,955</td>\n",
       "      <td>-2,663</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>42,771</td>\n",
       "      <td>3,342</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>43,889</td>\n",
       "      <td>1,843</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>招商期货</td>\n",
       "      <td>67,527</td>\n",
       "      <td>-12,527</td>\n",
       "      <td>华泰期货</td>\n",
       "      <td>21,091</td>\n",
       "      <td>-1,093</td>\n",
       "      <td>华泰期货</td>\n",
       "      <td>20,927</td>\n",
       "      <td>-1,991</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3</td>\n",
       "      <td>徽商期货</td>\n",
       "      <td>66,887</td>\n",
       "      <td>-29,680</td>\n",
       "      <td>招商期货</td>\n",
       "      <td>17,302</td>\n",
       "      <td>-3,063</td>\n",
       "      <td>招商期货</td>\n",
       "      <td>20,519</td>\n",
       "      <td>-2,788</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "      <td>光大期货</td>\n",
       "      <td>66,322</td>\n",
       "      <td>-10,134</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>17,193</td>\n",
       "      <td>784</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>15,779</td>\n",
       "      <td>716</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5</td>\n",
       "      <td>华泰期货</td>\n",
       "      <td>64,188</td>\n",
       "      <td>-11,979</td>\n",
       "      <td>兴证期货</td>\n",
       "      <td>13,338</td>\n",
       "      <td>-509</td>\n",
       "      <td>申银万国</td>\n",
       "      <td>14,773</td>\n",
       "      <td>-896</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>6</td>\n",
       "      <td>方正中期</td>\n",
       "      <td>42,133</td>\n",
       "      <td>-13,267</td>\n",
       "      <td>东航期货</td>\n",
       "      <td>13,090</td>\n",
       "      <td>-14</td>\n",
       "      <td>徽商期货</td>\n",
       "      <td>14,019</td>\n",
       "      <td>-1,425</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>7</td>\n",
       "      <td>华安期货</td>\n",
       "      <td>42,080</td>\n",
       "      <td>-16,355</td>\n",
       "      <td>徽商期货</td>\n",
       "      <td>12,258</td>\n",
       "      <td>-1,352</td>\n",
       "      <td>银河期货</td>\n",
       "      <td>13,667</td>\n",
       "      <td>-900</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>8</td>\n",
       "      <td>西部期货</td>\n",
       "      <td>38,400</td>\n",
       "      <td>-9,005</td>\n",
       "      <td>申银万国</td>\n",
       "      <td>11,634</td>\n",
       "      <td>-455</td>\n",
       "      <td>方正中期</td>\n",
       "      <td>13,090</td>\n",
       "      <td>-495</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>9</td>\n",
       "      <td>申银万国</td>\n",
       "      <td>34,285</td>\n",
       "      <td>-9,595</td>\n",
       "      <td>光大期货</td>\n",
       "      <td>11,474</td>\n",
       "      <td>137</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>12,804</td>\n",
       "      <td>-542</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>10</td>\n",
       "      <td>中信建投</td>\n",
       "      <td>33,675</td>\n",
       "      <td>-16,063</td>\n",
       "      <td>东证期货</td>\n",
       "      <td>11,173</td>\n",
       "      <td>-272</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>12,439</td>\n",
       "      <td>157</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>11</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>32,228</td>\n",
       "      <td>-5,771</td>\n",
       "      <td>西部期货</td>\n",
       "      <td>10,610</td>\n",
       "      <td>-4,589</td>\n",
       "      <td>西部期货</td>\n",
       "      <td>11,909</td>\n",
       "      <td>-4,337</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>12</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>30,350</td>\n",
       "      <td>-13,178</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>10,564</td>\n",
       "      <td>1,012</td>\n",
       "      <td>光大期货</td>\n",
       "      <td>11,696</td>\n",
       "      <td>35</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>13</td>\n",
       "      <td>国投安信期货</td>\n",
       "      <td>28,477</td>\n",
       "      <td>-9,863</td>\n",
       "      <td>银河期货</td>\n",
       "      <td>10,534</td>\n",
       "      <td>-800</td>\n",
       "      <td>南华期货</td>\n",
       "      <td>9,720</td>\n",
       "      <td>-888</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>14</td>\n",
       "      <td>创元期货</td>\n",
       "      <td>27,864</td>\n",
       "      <td>-16,414</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>10,144</td>\n",
       "      <td>-366</td>\n",
       "      <td>中信建投</td>\n",
       "      <td>9,439</td>\n",
       "      <td>-1,208</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>15</td>\n",
       "      <td>国富期货</td>\n",
       "      <td>27,392</td>\n",
       "      <td>-2,856</td>\n",
       "      <td>中信建投</td>\n",
       "      <td>10,127</td>\n",
       "      <td>-747</td>\n",
       "      <td>广发期货</td>\n",
       "      <td>7,847</td>\n",
       "      <td>-634</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>16</td>\n",
       "      <td>中辉期货</td>\n",
       "      <td>26,600</td>\n",
       "      <td>-20,959</td>\n",
       "      <td>浙商期货</td>\n",
       "      <td>9,630</td>\n",
       "      <td>-32</td>\n",
       "      <td>东证期货</td>\n",
       "      <td>7,840</td>\n",
       "      <td>42</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>17</td>\n",
       "      <td>安粮期货</td>\n",
       "      <td>25,948</td>\n",
       "      <td>-8,086</td>\n",
       "      <td>中辉期货</td>\n",
       "      <td>9,293</td>\n",
       "      <td>-155</td>\n",
       "      <td>国投安信期货</td>\n",
       "      <td>7,295</td>\n",
       "      <td>-619</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>18</td>\n",
       "      <td>兴证期货</td>\n",
       "      <td>25,875</td>\n",
       "      <td>-10,010</td>\n",
       "      <td>国富期货</td>\n",
       "      <td>8,581</td>\n",
       "      <td>-888</td>\n",
       "      <td>兴证期货</td>\n",
       "      <td>7,085</td>\n",
       "      <td>418</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>19</td>\n",
       "      <td>宏源期货</td>\n",
       "      <td>24,815</td>\n",
       "      <td>-12,398</td>\n",
       "      <td>新湖期货</td>\n",
       "      <td>8,282</td>\n",
       "      <td>-189</td>\n",
       "      <td>浙商期货</td>\n",
       "      <td>7,014</td>\n",
       "      <td>156</td>\n",
       "      <td>AP</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "    名次 成交量期货公司      成交量    成交量增减 持买仓量期货公司    持买仓量  持买仓量增减 持卖仓量期货公司    持卖仓量  \\\n",
       "0    1    海通期货  157,955   -2,663     海通期货  42,771   3,342     海通期货  43,889   \n",
       "1    2    招商期货   67,527  -12,527     华泰期货  21,091  -1,093     华泰期货  20,927   \n",
       "2    3    徽商期货   66,887  -29,680     招商期货  17,302  -3,063     招商期货  20,519   \n",
       "3    4    光大期货   66,322  -10,134     永安期货  17,193     784     中信期货  15,779   \n",
       "4    5    华泰期货   64,188  -11,979     兴证期货  13,338    -509     申银万国  14,773   \n",
       "5    6    方正中期   42,133  -13,267     东航期货  13,090     -14     徽商期货  14,019   \n",
       "6    7    华安期货   42,080  -16,355     徽商期货  12,258  -1,352     银河期货  13,667   \n",
       "7    8    西部期货   38,400   -9,005     申银万国  11,634    -455     方正中期  13,090   \n",
       "8    9    申银万国   34,285   -9,595     光大期货  11,474     137     国泰君安  12,804   \n",
       "9   10    中信建投   33,675  -16,063     东证期货  11,173    -272     永安期货  12,439   \n",
       "10  11    中信期货   32,228   -5,771     西部期货  10,610  -4,589     西部期货  11,909   \n",
       "11  12    国泰君安   30,350  -13,178     中信期货  10,564   1,012     光大期货  11,696   \n",
       "12  13  国投安信期货   28,477   -9,863     银河期货  10,534    -800     南华期货   9,720   \n",
       "13  14    创元期货   27,864  -16,414     国泰君安  10,144    -366     中信建投   9,439   \n",
       "14  15    国富期货   27,392   -2,856     中信建投  10,127    -747     广发期货   7,847   \n",
       "15  16    中辉期货   26,600  -20,959     浙商期货   9,630     -32     东证期货   7,840   \n",
       "16  17    安粮期货   25,948   -8,086     中辉期货   9,293    -155   国投安信期货   7,295   \n",
       "17  18    兴证期货   25,875  -10,010     国富期货   8,581    -888     兴证期货   7,085   \n",
       "18  19    宏源期货   24,815  -12,398     新湖期货   8,282    -189     浙商期货   7,014   \n",
       "\n",
       "    持卖仓量增减 symbol        date  \n",
       "0    1,843     AP  2018-05-30  \n",
       "1   -1,991     AP  2018-05-30  \n",
       "2   -2,788     AP  2018-05-30  \n",
       "3      716     AP  2018-05-30  \n",
       "4     -896     AP  2018-05-30  \n",
       "5   -1,425     AP  2018-05-30  \n",
       "6     -900     AP  2018-05-30  \n",
       "7     -495     AP  2018-05-30  \n",
       "8     -542     AP  2018-05-30  \n",
       "9      157     AP  2018-05-30  \n",
       "10  -4,337     AP  2018-05-30  \n",
       "11      35     AP  2018-05-30  \n",
       "12    -888     AP  2018-05-30  \n",
       "13  -1,208     AP  2018-05-30  \n",
       "14    -634     AP  2018-05-30  \n",
       "15      42     AP  2018-05-30  \n",
       "16    -619     AP  2018-05-30  \n",
       "17     418     AP  2018-05-30  \n",
       "18     156     AP  2018-05-30  "
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df, msg = futures.get_trade_rank('CZC', date='2018-05-30')\n",
    "df[df.symbol=='AP']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>名次</th>\n",
       "      <th>成交量期货公司</th>\n",
       "      <th>成交量</th>\n",
       "      <th>成交量增减</th>\n",
       "      <th>持买单量期货公司</th>\n",
       "      <th>持买单量</th>\n",
       "      <th>持买单量增减</th>\n",
       "      <th>持卖单量期货公司</th>\n",
       "      <th>持卖单量</th>\n",
       "      <th>持卖单量增减</th>\n",
       "      <th>symbol</th>\n",
       "      <th>date</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>东证期货</td>\n",
       "      <td>12,950</td>\n",
       "      <td>2,547</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>11,517</td>\n",
       "      <td>815</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>11,308</td>\n",
       "      <td>1,506</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>9,148</td>\n",
       "      <td>581</td>\n",
       "      <td>广发期货</td>\n",
       "      <td>8,381</td>\n",
       "      <td>-27</td>\n",
       "      <td>南华期货</td>\n",
       "      <td>8,176</td>\n",
       "      <td>-48</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>3</td>\n",
       "      <td>广发期货</td>\n",
       "      <td>7,183</td>\n",
       "      <td>-1,547</td>\n",
       "      <td>银河期货</td>\n",
       "      <td>8,171</td>\n",
       "      <td>1,031</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>7,237</td>\n",
       "      <td>-703</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "      <td>中辉期货</td>\n",
       "      <td>6,940</td>\n",
       "      <td>3,033</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>4,865</td>\n",
       "      <td>-938</td>\n",
       "      <td>银河期货</td>\n",
       "      <td>4,613</td>\n",
       "      <td>-248</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>5</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>6,539</td>\n",
       "      <td>-2,020</td>\n",
       "      <td>申银万国</td>\n",
       "      <td>4,864</td>\n",
       "      <td>52</td>\n",
       "      <td>徽商期货</td>\n",
       "      <td>4,551</td>\n",
       "      <td>29</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>6</td>\n",
       "      <td>光大期货</td>\n",
       "      <td>6,061</td>\n",
       "      <td>-443</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>4,516</td>\n",
       "      <td>344</td>\n",
       "      <td>华泰期货</td>\n",
       "      <td>3,743</td>\n",
       "      <td>212</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>7</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>5,231</td>\n",
       "      <td>1,003</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>4,318</td>\n",
       "      <td>588</td>\n",
       "      <td>中辉期货</td>\n",
       "      <td>3,705</td>\n",
       "      <td>2,645</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>8</td>\n",
       "      <td>长江期货</td>\n",
       "      <td>4,406</td>\n",
       "      <td>1,599</td>\n",
       "      <td>东证期货</td>\n",
       "      <td>3,779</td>\n",
       "      <td>-738</td>\n",
       "      <td>东证期货</td>\n",
       "      <td>3,429</td>\n",
       "      <td>-696</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>9</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>3,880</td>\n",
       "      <td>1,212</td>\n",
       "      <td>华泰期货</td>\n",
       "      <td>2,688</td>\n",
       "      <td>162</td>\n",
       "      <td>中财期货</td>\n",
       "      <td>3,224</td>\n",
       "      <td>-75</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>10</td>\n",
       "      <td>宏源期货</td>\n",
       "      <td>3,216</td>\n",
       "      <td>854</td>\n",
       "      <td>一德期货</td>\n",
       "      <td>2,645</td>\n",
       "      <td>-33</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>3,208</td>\n",
       "      <td>370</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>11</td>\n",
       "      <td>银河期货</td>\n",
       "      <td>2,871</td>\n",
       "      <td>-143</td>\n",
       "      <td>华龙期货</td>\n",
       "      <td>2,416</td>\n",
       "      <td>1,008</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>2,829</td>\n",
       "      <td>-36</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>12</td>\n",
       "      <td>华安期货</td>\n",
       "      <td>2,811</td>\n",
       "      <td>225</td>\n",
       "      <td>中辉期货</td>\n",
       "      <td>2,335</td>\n",
       "      <td>-221</td>\n",
       "      <td>一德期货</td>\n",
       "      <td>2,765</td>\n",
       "      <td>-155</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>13</td>\n",
       "      <td>深圳瑞龙</td>\n",
       "      <td>2,624</td>\n",
       "      <td>56</td>\n",
       "      <td>光大期货</td>\n",
       "      <td>2,310</td>\n",
       "      <td>-870</td>\n",
       "      <td>中粮期货</td>\n",
       "      <td>2,475</td>\n",
       "      <td>44</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>14</td>\n",
       "      <td>华龙期货</td>\n",
       "      <td>2,608</td>\n",
       "      <td>825</td>\n",
       "      <td>中信建投</td>\n",
       "      <td>1,939</td>\n",
       "      <td>-2</td>\n",
       "      <td>国贸期货</td>\n",
       "      <td>2,439</td>\n",
       "      <td>-36</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>15</td>\n",
       "      <td>中财期货</td>\n",
       "      <td>2,261</td>\n",
       "      <td>233</td>\n",
       "      <td>宏源期货</td>\n",
       "      <td>1,769</td>\n",
       "      <td>-451</td>\n",
       "      <td>申银万国</td>\n",
       "      <td>2,056</td>\n",
       "      <td>1</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>16</td>\n",
       "      <td>安粮期货</td>\n",
       "      <td>1,919</td>\n",
       "      <td>262</td>\n",
       "      <td>东吴期货</td>\n",
       "      <td>1,556</td>\n",
       "      <td>-41</td>\n",
       "      <td>北京首创</td>\n",
       "      <td>1,867</td>\n",
       "      <td>106</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>17</td>\n",
       "      <td>西部期货</td>\n",
       "      <td>1,782</td>\n",
       "      <td>-86</td>\n",
       "      <td>国投安信</td>\n",
       "      <td>1,492</td>\n",
       "      <td>199</td>\n",
       "      <td>光大期货</td>\n",
       "      <td>1,761</td>\n",
       "      <td>-1,007</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>18</td>\n",
       "      <td>东航期货</td>\n",
       "      <td>1,638</td>\n",
       "      <td>-597</td>\n",
       "      <td>国贸期货</td>\n",
       "      <td>1,412</td>\n",
       "      <td>447</td>\n",
       "      <td>海证期货</td>\n",
       "      <td>1,752</td>\n",
       "      <td>100</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>19</td>\n",
       "      <td>中信建投</td>\n",
       "      <td>1,462</td>\n",
       "      <td>-42</td>\n",
       "      <td>中财期货</td>\n",
       "      <td>1,285</td>\n",
       "      <td>-16</td>\n",
       "      <td>广发期货</td>\n",
       "      <td>1,715</td>\n",
       "      <td>-866</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>20</td>\n",
       "      <td>英大期货</td>\n",
       "      <td>1,400</td>\n",
       "      <td>514</td>\n",
       "      <td>徽商期货</td>\n",
       "      <td>1,281</td>\n",
       "      <td>206</td>\n",
       "      <td>东海期货</td>\n",
       "      <td>1,690</td>\n",
       "      <td>-83</td>\n",
       "      <td>i1901</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "    名次 成交量期货公司     成交量   成交量增减 持买单量期货公司    持买单量 持买单量增减 持卖单量期货公司    持卖单量  \\\n",
       "0    1    东证期货  12,950   2,547     国泰君安  11,517    815     永安期货  11,308   \n",
       "1    2    海通期货   9,148     581     广发期货   8,381    -27     南华期货   8,176   \n",
       "2    3    广发期货   7,183  -1,547     银河期货   8,171  1,031     中信期货   7,237   \n",
       "3    4    中辉期货   6,940   3,033     中信期货   4,865   -938     银河期货   4,613   \n",
       "4    5    中信期货   6,539  -2,020     申银万国   4,864     52     徽商期货   4,551   \n",
       "5    6    光大期货   6,061    -443     永安期货   4,516    344     华泰期货   3,743   \n",
       "6    7    国泰君安   5,231   1,003     海通期货   4,318    588     中辉期货   3,705   \n",
       "7    8    长江期货   4,406   1,599     东证期货   3,779   -738     东证期货   3,429   \n",
       "8    9    永安期货   3,880   1,212     华泰期货   2,688    162     中财期货   3,224   \n",
       "9   10    宏源期货   3,216     854     一德期货   2,645    -33     海通期货   3,208   \n",
       "10  11    银河期货   2,871    -143     华龙期货   2,416  1,008     国泰君安   2,829   \n",
       "11  12    华安期货   2,811     225     中辉期货   2,335   -221     一德期货   2,765   \n",
       "12  13    深圳瑞龙   2,624      56     光大期货   2,310   -870     中粮期货   2,475   \n",
       "13  14    华龙期货   2,608     825     中信建投   1,939     -2     国贸期货   2,439   \n",
       "14  15    中财期货   2,261     233     宏源期货   1,769   -451     申银万国   2,056   \n",
       "15  16    安粮期货   1,919     262     东吴期货   1,556    -41     北京首创   1,867   \n",
       "16  17    西部期货   1,782     -86     国投安信   1,492    199     光大期货   1,761   \n",
       "17  18    东航期货   1,638    -597     国贸期货   1,412    447     海证期货   1,752   \n",
       "18  19    中信建投   1,462     -42     中财期货   1,285    -16     广发期货   1,715   \n",
       "19  20    英大期货   1,400     514     徽商期货   1,281    206     东海期货   1,690   \n",
       "\n",
       "    持卖单量增减 symbol        date  \n",
       "0    1,506  i1901  2018-05-30  \n",
       "1      -48  i1901  2018-05-30  \n",
       "2     -703  i1901  2018-05-30  \n",
       "3     -248  i1901  2018-05-30  \n",
       "4       29  i1901  2018-05-30  \n",
       "5      212  i1901  2018-05-30  \n",
       "6    2,645  i1901  2018-05-30  \n",
       "7     -696  i1901  2018-05-30  \n",
       "8      -75  i1901  2018-05-30  \n",
       "9      370  i1901  2018-05-30  \n",
       "10     -36  i1901  2018-05-30  \n",
       "11    -155  i1901  2018-05-30  \n",
       "12      44  i1901  2018-05-30  \n",
       "13     -36  i1901  2018-05-30  \n",
       "14       1  i1901  2018-05-30  \n",
       "15     106  i1901  2018-05-30  \n",
       "16  -1,007  i1901  2018-05-30  \n",
       "17     100  i1901  2018-05-30  \n",
       "18    -866  i1901  2018-05-30  \n",
       "19     -83  i1901  2018-05-30  "
      ]
     },
     "execution_count": 39,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df, msg = futures.get_trade_rank('DCE', date='2018-05-30')\n",
    "df[df.symbol == 'i1901']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>symbol</th>\n",
       "      <th>名次</th>\n",
       "      <th>成交量期货公司</th>\n",
       "      <th>成交量增减</th>\n",
       "      <th>成交量</th>\n",
       "      <th>持买单量期货公司</th>\n",
       "      <th>持买单量增减</th>\n",
       "      <th>持买单量</th>\n",
       "      <th>持卖单量期货公司</th>\n",
       "      <th>持卖单量增减</th>\n",
       "      <th>持卖单量</th>\n",
       "      <th>date</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>T1806</td>\n",
       "      <td>1</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>4064</td>\n",
       "      <td>4091</td>\n",
       "      <td>平安期货</td>\n",
       "      <td>-48</td>\n",
       "      <td>130</td>\n",
       "      <td>国金期货</td>\n",
       "      <td>-38</td>\n",
       "      <td>118</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>T1806</td>\n",
       "      <td>2</td>\n",
       "      <td>广发期货</td>\n",
       "      <td>970</td>\n",
       "      <td>1300</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>-2037</td>\n",
       "      <td>60</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>-76</td>\n",
       "      <td>34</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>T1806</td>\n",
       "      <td>3</td>\n",
       "      <td>天风期货</td>\n",
       "      <td>670</td>\n",
       "      <td>681</td>\n",
       "      <td>南华期货</td>\n",
       "      <td>-271</td>\n",
       "      <td>30</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>-88</td>\n",
       "      <td>20</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>T1806</td>\n",
       "      <td>4</td>\n",
       "      <td>南华期货</td>\n",
       "      <td>465</td>\n",
       "      <td>565</td>\n",
       "      <td>方正中期</td>\n",
       "      <td>-20</td>\n",
       "      <td>16</td>\n",
       "      <td>天风期货</td>\n",
       "      <td>-330</td>\n",
       "      <td>20</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>T1806</td>\n",
       "      <td>5</td>\n",
       "      <td>海通期货</td>\n",
       "      <td>510</td>\n",
       "      <td>522</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>-6</td>\n",
       "      <td>0</td>\n",
       "      <td>光大期货</td>\n",
       "      <td>-1</td>\n",
       "      <td>15</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>T1806</td>\n",
       "      <td>6</td>\n",
       "      <td>国金期货</td>\n",
       "      <td>176</td>\n",
       "      <td>216</td>\n",
       "      <td>鲁证期货</td>\n",
       "      <td>-1</td>\n",
       "      <td>0</td>\n",
       "      <td>国泰君安</td>\n",
       "      <td>-2038</td>\n",
       "      <td>12</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>T1806</td>\n",
       "      <td>7</td>\n",
       "      <td>乾坤期货</td>\n",
       "      <td>160</td>\n",
       "      <td>160</td>\n",
       "      <td>光大期货</td>\n",
       "      <td>-20</td>\n",
       "      <td>0</td>\n",
       "      <td>宏源期货</td>\n",
       "      <td>0</td>\n",
       "      <td>12</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>T1806</td>\n",
       "      <td>8</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>-56</td>\n",
       "      <td>131</td>\n",
       "      <td>东海期货</td>\n",
       "      <td>-2</td>\n",
       "      <td>0</td>\n",
       "      <td>国海良时</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>T1806</td>\n",
       "      <td>9</td>\n",
       "      <td>永安期货</td>\n",
       "      <td>16</td>\n",
       "      <td>84</td>\n",
       "      <td>浙商期货</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>同信久恒</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>T1806</td>\n",
       "      <td>10</td>\n",
       "      <td>国投安信</td>\n",
       "      <td>62</td>\n",
       "      <td>68</td>\n",
       "      <td>华泰期货</td>\n",
       "      <td>-1</td>\n",
       "      <td>0</td>\n",
       "      <td>华信期货</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>T1806</td>\n",
       "      <td>11</td>\n",
       "      <td>平安期货</td>\n",
       "      <td>-93</td>\n",
       "      <td>61</td>\n",
       "      <td>五矿经易</td>\n",
       "      <td>-3</td>\n",
       "      <td>0</td>\n",
       "      <td>南华期货</td>\n",
       "      <td>-272</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>T1806</td>\n",
       "      <td>12</td>\n",
       "      <td>上海东证</td>\n",
       "      <td>-94</td>\n",
       "      <td>42</td>\n",
       "      <td>广发期货</td>\n",
       "      <td>-650</td>\n",
       "      <td>0</td>\n",
       "      <td>鲁证期货</td>\n",
       "      <td>-1</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>T1806</td>\n",
       "      <td>13</td>\n",
       "      <td>华西期货</td>\n",
       "      <td>8</td>\n",
       "      <td>30</td>\n",
       "      <td>中信期货</td>\n",
       "      <td>-43</td>\n",
       "      <td>0</td>\n",
       "      <td>东海期货</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>T1806</td>\n",
       "      <td>14</td>\n",
       "      <td>华安期货</td>\n",
       "      <td>16</td>\n",
       "      <td>25</td>\n",
       "      <td>金瑞期货</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>浙商期货</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>T1806</td>\n",
       "      <td>15</td>\n",
       "      <td>渤海期货</td>\n",
       "      <td>-7</td>\n",
       "      <td>23</td>\n",
       "      <td>新世纪</td>\n",
       "      <td>-1</td>\n",
       "      <td>0</td>\n",
       "      <td>华泰期货</td>\n",
       "      <td>-8</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>T1806</td>\n",
       "      <td>16</td>\n",
       "      <td>宏源期货</td>\n",
       "      <td>-4</td>\n",
       "      <td>22</td>\n",
       "      <td>兴证期货</td>\n",
       "      <td>-10</td>\n",
       "      <td>0</td>\n",
       "      <td>五矿经易</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>T1806</td>\n",
       "      <td>17</td>\n",
       "      <td>光大期货</td>\n",
       "      <td>-34</td>\n",
       "      <td>21</td>\n",
       "      <td>格林大华</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>广发期货</td>\n",
       "      <td>-650</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>T1806</td>\n",
       "      <td>18</td>\n",
       "      <td>兴证期货</td>\n",
       "      <td>-51</td>\n",
       "      <td>21</td>\n",
       "      <td>同信久恒</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>金瑞期货</td>\n",
       "      <td>-1</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>T1806</td>\n",
       "      <td>19</td>\n",
       "      <td>银河期货</td>\n",
       "      <td>-15</td>\n",
       "      <td>21</td>\n",
       "      <td>银河期货</td>\n",
       "      <td>-1</td>\n",
       "      <td>0</td>\n",
       "      <td>新世纪</td>\n",
       "      <td>-1</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>T1806</td>\n",
       "      <td>20</td>\n",
       "      <td>东航期货</td>\n",
       "      <td>-19</td>\n",
       "      <td>21</td>\n",
       "      <td>北京首创</td>\n",
       "      <td>-2</td>\n",
       "      <td>0</td>\n",
       "      <td>兴证期货</td>\n",
       "      <td>-1</td>\n",
       "      <td>0</td>\n",
       "      <td>2018-05-30</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   symbol  名次 成交量期货公司 成交量增减   成交量 持买单量期货公司 持买单量增减 持买单量 持卖单量期货公司 持卖单量增减 持卖单量  \\\n",
       "0   T1806   1    国泰君安  4064  4091     平安期货    -48  130     国金期货    -38  118   \n",
       "1   T1806   2    广发期货   970  1300     国泰君安  -2037   60     永安期货    -76   34   \n",
       "2   T1806   3    天风期货   670   681     南华期货   -271   30     中信期货    -88   20   \n",
       "3   T1806   4    南华期货   465   565     方正中期    -20   16     天风期货   -330   20   \n",
       "4   T1806   5    海通期货   510   522     永安期货     -6    0     光大期货     -1   15   \n",
       "5   T1806   6    国金期货   176   216     鲁证期货     -1    0     国泰君安  -2038   12   \n",
       "6   T1806   7    乾坤期货   160   160     光大期货    -20    0     宏源期货      0   12   \n",
       "7   T1806   8    中信期货   -56   131     东海期货     -2    0     国海良时      0    3   \n",
       "8   T1806   9    永安期货    16    84     浙商期货      0    0     同信久恒      0    1   \n",
       "9   T1806  10    国投安信    62    68     华泰期货     -1    0     华信期货      0    1   \n",
       "10  T1806  11    平安期货   -93    61     五矿经易     -3    0     南华期货   -272    0   \n",
       "11  T1806  12    上海东证   -94    42     广发期货   -650    0     鲁证期货     -1    0   \n",
       "12  T1806  13    华西期货     8    30     中信期货    -43    0     东海期货      0    0   \n",
       "13  T1806  14    华安期货    16    25     金瑞期货      0    0     浙商期货      0    0   \n",
       "14  T1806  15    渤海期货    -7    23      新世纪     -1    0     华泰期货     -8    0   \n",
       "15  T1806  16    宏源期货    -4    22     兴证期货    -10    0     五矿经易      0    0   \n",
       "16  T1806  17    光大期货   -34    21     格林大华      0    0     广发期货   -650    0   \n",
       "17  T1806  18    兴证期货   -51    21     同信久恒      0    0     金瑞期货     -1    0   \n",
       "18  T1806  19    银河期货   -15    21     银河期货     -1    0      新世纪     -1    0   \n",
       "19  T1806  20    东航期货   -19    21     北京首创     -2    0     兴证期货     -1    0   \n",
       "\n",
       "          date  \n",
       "0   2018-05-30  \n",
       "1   2018-05-30  \n",
       "2   2018-05-30  \n",
       "3   2018-05-30  \n",
       "4   2018-05-30  \n",
       "5   2018-05-30  \n",
       "6   2018-05-30  \n",
       "7   2018-05-30  \n",
       "8   2018-05-30  \n",
       "9   2018-05-30  \n",
       "10  2018-05-30  \n",
       "11  2018-05-30  \n",
       "12  2018-05-30  \n",
       "13  2018-05-30  \n",
       "14  2018-05-30  \n",
       "15  2018-05-30  \n",
       "16  2018-05-30  \n",
       "17  2018-05-30  \n",
       "18  2018-05-30  \n",
       "19  2018-05-30  "
      ]
     },
     "execution_count": 42,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df, msg = futures.get_trade_rank('CFE', date='2018-05-30')\n",
    "df[df.symbol == 'T1806']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {},
   "outputs": [],
   "source": [
    "from opendatatools import fx"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [],
   "source": [
    "df,msg = fx.get_hist_cny_cpr()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>date</th>\n",
       "      <th>USD/CNY</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>6.4306</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2018-06-14</td>\n",
       "      <td>6.3962</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>2018-06-13</td>\n",
       "      <td>6.4156</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>2018-06-12</td>\n",
       "      <td>6.4121</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>2018-06-11</td>\n",
       "      <td>6.4064</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>2018-06-08</td>\n",
       "      <td>6.4003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>6.3919</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>2018-06-06</td>\n",
       "      <td>6.4040</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>2018-06-05</td>\n",
       "      <td>6.4157</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>2018-06-04</td>\n",
       "      <td>6.4208</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>2018-06-01</td>\n",
       "      <td>6.4078</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>2018-05-31</td>\n",
       "      <td>6.4144</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2018-05-30</td>\n",
       "      <td>6.4207</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>2018-05-29</td>\n",
       "      <td>6.4021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>2018-05-28</td>\n",
       "      <td>6.3962</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>2018-05-25</td>\n",
       "      <td>6.3867</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>2018-05-24</td>\n",
       "      <td>6.3816</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>2018-05-23</td>\n",
       "      <td>6.3773</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>2018-05-22</td>\n",
       "      <td>6.3799</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>2018-05-21</td>\n",
       "      <td>6.3852</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>2018-05-18</td>\n",
       "      <td>6.3763</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>2018-05-17</td>\n",
       "      <td>6.3679</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>2018-05-16</td>\n",
       "      <td>6.3745</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>2018-05-15</td>\n",
       "      <td>6.3486</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>2018-05-14</td>\n",
       "      <td>6.3345</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>2018-05-11</td>\n",
       "      <td>6.3524</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>2018-05-10</td>\n",
       "      <td>6.3768</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>2018-05-09</td>\n",
       "      <td>6.3733</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>2018-05-08</td>\n",
       "      <td>6.3674</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>2018-05-07</td>\n",
       "      <td>6.3584</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>214</th>\n",
       "      <td>2017-07-31</td>\n",
       "      <td>6.7283</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>215</th>\n",
       "      <td>2017-07-28</td>\n",
       "      <td>6.7373</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>216</th>\n",
       "      <td>2017-07-27</td>\n",
       "      <td>6.7307</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>217</th>\n",
       "      <td>2017-07-26</td>\n",
       "      <td>6.7529</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>218</th>\n",
       "      <td>2017-07-25</td>\n",
       "      <td>6.7485</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>219</th>\n",
       "      <td>2017-07-24</td>\n",
       "      <td>6.7410</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>220</th>\n",
       "      <td>2017-07-21</td>\n",
       "      <td>6.7415</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>221</th>\n",
       "      <td>2017-07-20</td>\n",
       "      <td>6.7464</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>222</th>\n",
       "      <td>2017-07-19</td>\n",
       "      <td>6.7451</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>223</th>\n",
       "      <td>2017-07-18</td>\n",
       "      <td>6.7611</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>224</th>\n",
       "      <td>2017-07-17</td>\n",
       "      <td>6.7562</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>225</th>\n",
       "      <td>2017-07-14</td>\n",
       "      <td>6.7774</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>226</th>\n",
       "      <td>2017-07-13</td>\n",
       "      <td>6.7802</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>227</th>\n",
       "      <td>2017-07-12</td>\n",
       "      <td>6.7868</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>228</th>\n",
       "      <td>2017-07-11</td>\n",
       "      <td>6.7983</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>229</th>\n",
       "      <td>2017-07-10</td>\n",
       "      <td>6.7964</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>230</th>\n",
       "      <td>2017-07-07</td>\n",
       "      <td>6.7914</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>231</th>\n",
       "      <td>2017-07-06</td>\n",
       "      <td>6.7953</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>232</th>\n",
       "      <td>2017-07-05</td>\n",
       "      <td>6.7922</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>233</th>\n",
       "      <td>2017-07-04</td>\n",
       "      <td>6.7889</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>2017-07-03</td>\n",
       "      <td>6.7772</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>2017-06-30</td>\n",
       "      <td>6.7744</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>2017-06-29</td>\n",
       "      <td>6.7940</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>2017-06-28</td>\n",
       "      <td>6.8053</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>2017-06-27</td>\n",
       "      <td>6.8292</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>2017-06-26</td>\n",
       "      <td>6.8220</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>2017-06-23</td>\n",
       "      <td>6.8238</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>2017-06-22</td>\n",
       "      <td>6.8197</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>2017-06-21</td>\n",
       "      <td>6.8193</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>243</th>\n",
       "      <td>2017-06-20</td>\n",
       "      <td>6.8096</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>244 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "           date USD/CNY\n",
       "0    2018-06-15  6.4306\n",
       "1    2018-06-14  6.3962\n",
       "2    2018-06-13  6.4156\n",
       "3    2018-06-12  6.4121\n",
       "4    2018-06-11  6.4064\n",
       "5    2018-06-08  6.4003\n",
       "6    2018-06-07  6.3919\n",
       "7    2018-06-06  6.4040\n",
       "8    2018-06-05  6.4157\n",
       "9    2018-06-04  6.4208\n",
       "10   2018-06-01  6.4078\n",
       "11   2018-05-31  6.4144\n",
       "12   2018-05-30  6.4207\n",
       "13   2018-05-29  6.4021\n",
       "14   2018-05-28  6.3962\n",
       "15   2018-05-25  6.3867\n",
       "16   2018-05-24  6.3816\n",
       "17   2018-05-23  6.3773\n",
       "18   2018-05-22  6.3799\n",
       "19   2018-05-21  6.3852\n",
       "20   2018-05-18  6.3763\n",
       "21   2018-05-17  6.3679\n",
       "22   2018-05-16  6.3745\n",
       "23   2018-05-15  6.3486\n",
       "24   2018-05-14  6.3345\n",
       "25   2018-05-11  6.3524\n",
       "26   2018-05-10  6.3768\n",
       "27   2018-05-09  6.3733\n",
       "28   2018-05-08  6.3674\n",
       "29   2018-05-07  6.3584\n",
       "..          ...     ...\n",
       "214  2017-07-31  6.7283\n",
       "215  2017-07-28  6.7373\n",
       "216  2017-07-27  6.7307\n",
       "217  2017-07-26  6.7529\n",
       "218  2017-07-25  6.7485\n",
       "219  2017-07-24  6.7410\n",
       "220  2017-07-21  6.7415\n",
       "221  2017-07-20  6.7464\n",
       "222  2017-07-19  6.7451\n",
       "223  2017-07-18  6.7611\n",
       "224  2017-07-17  6.7562\n",
       "225  2017-07-14  6.7774\n",
       "226  2017-07-13  6.7802\n",
       "227  2017-07-12  6.7868\n",
       "228  2017-07-11  6.7983\n",
       "229  2017-07-10  6.7964\n",
       "230  2017-07-07  6.7914\n",
       "231  2017-07-06  6.7953\n",
       "232  2017-07-05  6.7922\n",
       "233  2017-07-04  6.7889\n",
       "234  2017-07-03  6.7772\n",
       "235  2017-06-30  6.7744\n",
       "236  2017-06-29  6.7940\n",
       "237  2017-06-28  6.8053\n",
       "238  2017-06-27  6.8292\n",
       "239  2017-06-26  6.8220\n",
       "240  2017-06-23  6.8238\n",
       "241  2017-06-22  6.8197\n",
       "242  2017-06-21  6.8193\n",
       "243  2017-06-20  6.8096\n",
       "\n",
       "[244 rows x 2 columns]"
      ]
     },
     "execution_count": 49,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[['date', 'USD/CNY']]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>1M</th>\n",
       "      <th>1W</th>\n",
       "      <th>1Y</th>\n",
       "      <th>2W</th>\n",
       "      <th>3M</th>\n",
       "      <th>6M</th>\n",
       "      <th>9M</th>\n",
       "      <th>ON</th>\n",
       "      <th>showDateCN</th>\n",
       "      <th>showDateEN</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>4.1260</td>\n",
       "      <td>2.8100</td>\n",
       "      <td>4.3990</td>\n",
       "      <td>3.6630</td>\n",
       "      <td>4.3520</td>\n",
       "      <td>4.3320</td>\n",
       "      <td>4.3530</td>\n",
       "      <td>2.5920</td>\n",
       "      <td>2018-06-15</td>\n",
       "      <td>15 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>4.1070</td>\n",
       "      <td>2.8090</td>\n",
       "      <td>4.4000</td>\n",
       "      <td>3.6650</td>\n",
       "      <td>4.3510</td>\n",
       "      <td>4.3230</td>\n",
       "      <td>4.3520</td>\n",
       "      <td>2.5910</td>\n",
       "      <td>2018-06-14</td>\n",
       "      <td>14 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>4.1010</td>\n",
       "      <td>2.8000</td>\n",
       "      <td>4.4000</td>\n",
       "      <td>3.6560</td>\n",
       "      <td>4.3510</td>\n",
       "      <td>4.3210</td>\n",
       "      <td>4.3500</td>\n",
       "      <td>2.5890</td>\n",
       "      <td>2018-06-13</td>\n",
       "      <td>13 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4.0870</td>\n",
       "      <td>2.7890</td>\n",
       "      <td>4.3990</td>\n",
       "      <td>3.6590</td>\n",
       "      <td>4.3520</td>\n",
       "      <td>4.3170</td>\n",
       "      <td>4.3490</td>\n",
       "      <td>2.5840</td>\n",
       "      <td>2018-06-12</td>\n",
       "      <td>12 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>4.0830</td>\n",
       "      <td>2.7760</td>\n",
       "      <td>4.3980</td>\n",
       "      <td>3.6560</td>\n",
       "      <td>4.3530</td>\n",
       "      <td>4.3130</td>\n",
       "      <td>4.3480</td>\n",
       "      <td>2.5730</td>\n",
       "      <td>2018-06-11</td>\n",
       "      <td>11 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>4.0540</td>\n",
       "      <td>2.7720</td>\n",
       "      <td>4.3970</td>\n",
       "      <td>3.6620</td>\n",
       "      <td>4.3510</td>\n",
       "      <td>4.3110</td>\n",
       "      <td>4.3450</td>\n",
       "      <td>2.5630</td>\n",
       "      <td>2018-06-08</td>\n",
       "      <td>08 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>4.0500</td>\n",
       "      <td>2.7830</td>\n",
       "      <td>4.3950</td>\n",
       "      <td>3.6750</td>\n",
       "      <td>4.3500</td>\n",
       "      <td>4.3070</td>\n",
       "      <td>4.3440</td>\n",
       "      <td>2.5550</td>\n",
       "      <td>2018-06-07</td>\n",
       "      <td>07 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>4.0420</td>\n",
       "      <td>2.7920</td>\n",
       "      <td>4.3940</td>\n",
       "      <td>3.6890</td>\n",
       "      <td>4.3540</td>\n",
       "      <td>4.3070</td>\n",
       "      <td>4.3430</td>\n",
       "      <td>2.5620</td>\n",
       "      <td>2018-06-06</td>\n",
       "      <td>06 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>4.0250</td>\n",
       "      <td>2.8020</td>\n",
       "      <td>4.3940</td>\n",
       "      <td>3.7130</td>\n",
       "      <td>4.3460</td>\n",
       "      <td>4.3080</td>\n",
       "      <td>4.3430</td>\n",
       "      <td>2.5840</td>\n",
       "      <td>2018-06-05</td>\n",
       "      <td>05 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>3.9930</td>\n",
       "      <td>2.8180</td>\n",
       "      <td>4.3930</td>\n",
       "      <td>3.7270</td>\n",
       "      <td>4.3410</td>\n",
       "      <td>4.3070</td>\n",
       "      <td>4.3400</td>\n",
       "      <td>2.5990</td>\n",
       "      <td>2018-06-04</td>\n",
       "      <td>04 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>3.9660</td>\n",
       "      <td>2.8970</td>\n",
       "      <td>4.3910</td>\n",
       "      <td>3.7380</td>\n",
       "      <td>4.3390</td>\n",
       "      <td>4.3040</td>\n",
       "      <td>4.3360</td>\n",
       "      <td>2.8010</td>\n",
       "      <td>2018-06-01</td>\n",
       "      <td>01 Jun 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>3.9050</td>\n",
       "      <td>2.8980</td>\n",
       "      <td>4.3880</td>\n",
       "      <td>3.7350</td>\n",
       "      <td>4.3290</td>\n",
       "      <td>4.2960</td>\n",
       "      <td>4.3330</td>\n",
       "      <td>2.8310</td>\n",
       "      <td>2018-05-31</td>\n",
       "      <td>31 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>3.8720</td>\n",
       "      <td>2.8950</td>\n",
       "      <td>4.3850</td>\n",
       "      <td>3.7290</td>\n",
       "      <td>4.3120</td>\n",
       "      <td>4.2890</td>\n",
       "      <td>4.3300</td>\n",
       "      <td>2.8840</td>\n",
       "      <td>2018-05-30</td>\n",
       "      <td>30 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>3.8500</td>\n",
       "      <td>2.8480</td>\n",
       "      <td>4.3810</td>\n",
       "      <td>3.7150</td>\n",
       "      <td>4.2820</td>\n",
       "      <td>4.2650</td>\n",
       "      <td>4.3260</td>\n",
       "      <td>2.7420</td>\n",
       "      <td>2018-05-29</td>\n",
       "      <td>29 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>3.8400</td>\n",
       "      <td>2.8060</td>\n",
       "      <td>4.3760</td>\n",
       "      <td>3.6900</td>\n",
       "      <td>4.2420</td>\n",
       "      <td>4.2430</td>\n",
       "      <td>4.3180</td>\n",
       "      <td>2.5330</td>\n",
       "      <td>2018-05-28</td>\n",
       "      <td>28 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>3.8470</td>\n",
       "      <td>2.7940</td>\n",
       "      <td>4.3730</td>\n",
       "      <td>3.6870</td>\n",
       "      <td>4.2150</td>\n",
       "      <td>4.2290</td>\n",
       "      <td>4.3150</td>\n",
       "      <td>2.5280</td>\n",
       "      <td>2018-05-25</td>\n",
       "      <td>25 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>3.8450</td>\n",
       "      <td>2.7510</td>\n",
       "      <td>4.3710</td>\n",
       "      <td>3.6800</td>\n",
       "      <td>4.1930</td>\n",
       "      <td>4.2150</td>\n",
       "      <td>4.3110</td>\n",
       "      <td>2.5300</td>\n",
       "      <td>2018-05-24</td>\n",
       "      <td>24 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>3.8410</td>\n",
       "      <td>2.7520</td>\n",
       "      <td>4.3730</td>\n",
       "      <td>3.6790</td>\n",
       "      <td>4.1730</td>\n",
       "      <td>4.2110</td>\n",
       "      <td>4.3090</td>\n",
       "      <td>2.5300</td>\n",
       "      <td>2018-05-23</td>\n",
       "      <td>23 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>3.8380</td>\n",
       "      <td>2.7550</td>\n",
       "      <td>4.3710</td>\n",
       "      <td>3.6730</td>\n",
       "      <td>4.1600</td>\n",
       "      <td>4.2070</td>\n",
       "      <td>4.3070</td>\n",
       "      <td>2.5250</td>\n",
       "      <td>2018-05-22</td>\n",
       "      <td>22 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>3.8320</td>\n",
       "      <td>2.7560</td>\n",
       "      <td>4.3710</td>\n",
       "      <td>3.6690</td>\n",
       "      <td>4.1510</td>\n",
       "      <td>4.2070</td>\n",
       "      <td>4.3090</td>\n",
       "      <td>2.5270</td>\n",
       "      <td>2018-05-21</td>\n",
       "      <td>21 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>3.8330</td>\n",
       "      <td>2.7680</td>\n",
       "      <td>4.3700</td>\n",
       "      <td>3.6560</td>\n",
       "      <td>4.1470</td>\n",
       "      <td>4.2020</td>\n",
       "      <td>4.3090</td>\n",
       "      <td>2.5630</td>\n",
       "      <td>2018-05-18</td>\n",
       "      <td>18 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>3.8310</td>\n",
       "      <td>2.8030</td>\n",
       "      <td>4.3660</td>\n",
       "      <td>3.6490</td>\n",
       "      <td>4.1010</td>\n",
       "      <td>4.1940</td>\n",
       "      <td>4.3060</td>\n",
       "      <td>2.5970</td>\n",
       "      <td>2018-05-17</td>\n",
       "      <td>17 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>3.8250</td>\n",
       "      <td>2.8350</td>\n",
       "      <td>4.3630</td>\n",
       "      <td>3.6490</td>\n",
       "      <td>4.0820</td>\n",
       "      <td>4.1880</td>\n",
       "      <td>4.3040</td>\n",
       "      <td>2.7660</td>\n",
       "      <td>2018-05-16</td>\n",
       "      <td>16 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>3.8130</td>\n",
       "      <td>2.7730</td>\n",
       "      <td>4.3550</td>\n",
       "      <td>3.6110</td>\n",
       "      <td>4.0720</td>\n",
       "      <td>4.1720</td>\n",
       "      <td>4.2970</td>\n",
       "      <td>2.6410</td>\n",
       "      <td>2018-05-15</td>\n",
       "      <td>15 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>3.8010</td>\n",
       "      <td>2.7380</td>\n",
       "      <td>4.3530</td>\n",
       "      <td>3.5940</td>\n",
       "      <td>4.0600</td>\n",
       "      <td>4.1620</td>\n",
       "      <td>4.2890</td>\n",
       "      <td>2.5800</td>\n",
       "      <td>2018-05-14</td>\n",
       "      <td>14 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>3.7990</td>\n",
       "      <td>2.7130</td>\n",
       "      <td>4.3480</td>\n",
       "      <td>3.6060</td>\n",
       "      <td>4.0500</td>\n",
       "      <td>4.1550</td>\n",
       "      <td>4.2850</td>\n",
       "      <td>2.4870</td>\n",
       "      <td>2018-05-11</td>\n",
       "      <td>11 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>3.8060</td>\n",
       "      <td>2.7230</td>\n",
       "      <td>4.3460</td>\n",
       "      <td>3.6210</td>\n",
       "      <td>4.0340</td>\n",
       "      <td>4.1520</td>\n",
       "      <td>4.2820</td>\n",
       "      <td>2.5090</td>\n",
       "      <td>2018-05-10</td>\n",
       "      <td>10 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>3.8160</td>\n",
       "      <td>2.7340</td>\n",
       "      <td>4.3460</td>\n",
       "      <td>3.6390</td>\n",
       "      <td>4.0130</td>\n",
       "      <td>4.1520</td>\n",
       "      <td>4.2780</td>\n",
       "      <td>2.5200</td>\n",
       "      <td>2018-05-09</td>\n",
       "      <td>09 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>3.8290</td>\n",
       "      <td>2.7510</td>\n",
       "      <td>4.3480</td>\n",
       "      <td>3.6630</td>\n",
       "      <td>3.9994</td>\n",
       "      <td>4.1510</td>\n",
       "      <td>4.2825</td>\n",
       "      <td>2.5750</td>\n",
       "      <td>2018-05-08</td>\n",
       "      <td>08 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>3.8400</td>\n",
       "      <td>2.7680</td>\n",
       "      <td>4.3490</td>\n",
       "      <td>3.6920</td>\n",
       "      <td>3.9943</td>\n",
       "      <td>4.1500</td>\n",
       "      <td>4.2850</td>\n",
       "      <td>2.5820</td>\n",
       "      <td>2018-05-07</td>\n",
       "      <td>07 May 2018</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>219</th>\n",
       "      <td>3.8890</td>\n",
       "      <td>2.8820</td>\n",
       "      <td>4.3881</td>\n",
       "      <td>3.7050</td>\n",
       "      <td>4.2561</td>\n",
       "      <td>4.3493</td>\n",
       "      <td>4.3790</td>\n",
       "      <td>2.8060</td>\n",
       "      <td>2017-07-31</td>\n",
       "      <td>31 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>220</th>\n",
       "      <td>3.8915</td>\n",
       "      <td>2.8770</td>\n",
       "      <td>4.3892</td>\n",
       "      <td>3.7030</td>\n",
       "      <td>4.2514</td>\n",
       "      <td>4.3481</td>\n",
       "      <td>4.3761</td>\n",
       "      <td>2.8152</td>\n",
       "      <td>2017-07-28</td>\n",
       "      <td>28 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>221</th>\n",
       "      <td>3.8994</td>\n",
       "      <td>2.8626</td>\n",
       "      <td>4.3908</td>\n",
       "      <td>3.7030</td>\n",
       "      <td>4.2500</td>\n",
       "      <td>4.3432</td>\n",
       "      <td>4.3760</td>\n",
       "      <td>2.7860</td>\n",
       "      <td>2017-07-27</td>\n",
       "      <td>27 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>222</th>\n",
       "      <td>3.9086</td>\n",
       "      <td>2.8490</td>\n",
       "      <td>4.3904</td>\n",
       "      <td>3.6997</td>\n",
       "      <td>4.2510</td>\n",
       "      <td>4.3434</td>\n",
       "      <td>4.3759</td>\n",
       "      <td>2.7250</td>\n",
       "      <td>2017-07-26</td>\n",
       "      <td>26 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>223</th>\n",
       "      <td>3.9205</td>\n",
       "      <td>2.8490</td>\n",
       "      <td>4.3935</td>\n",
       "      <td>3.6980</td>\n",
       "      <td>4.2540</td>\n",
       "      <td>4.3444</td>\n",
       "      <td>4.3770</td>\n",
       "      <td>2.7147</td>\n",
       "      <td>2017-07-25</td>\n",
       "      <td>25 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>224</th>\n",
       "      <td>3.9300</td>\n",
       "      <td>2.8450</td>\n",
       "      <td>4.3960</td>\n",
       "      <td>3.6990</td>\n",
       "      <td>4.2550</td>\n",
       "      <td>4.3453</td>\n",
       "      <td>4.3782</td>\n",
       "      <td>2.7080</td>\n",
       "      <td>2017-07-24</td>\n",
       "      <td>24 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>225</th>\n",
       "      <td>3.9497</td>\n",
       "      <td>2.8470</td>\n",
       "      <td>4.3977</td>\n",
       "      <td>3.7020</td>\n",
       "      <td>4.2550</td>\n",
       "      <td>4.3517</td>\n",
       "      <td>4.3804</td>\n",
       "      <td>2.7330</td>\n",
       "      <td>2017-07-21</td>\n",
       "      <td>21 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>226</th>\n",
       "      <td>3.9792</td>\n",
       "      <td>2.8530</td>\n",
       "      <td>4.3976</td>\n",
       "      <td>3.7050</td>\n",
       "      <td>4.2551</td>\n",
       "      <td>4.3597</td>\n",
       "      <td>4.3812</td>\n",
       "      <td>2.7534</td>\n",
       "      <td>2017-07-20</td>\n",
       "      <td>20 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>227</th>\n",
       "      <td>3.9920</td>\n",
       "      <td>2.8420</td>\n",
       "      <td>4.4008</td>\n",
       "      <td>3.6973</td>\n",
       "      <td>4.2600</td>\n",
       "      <td>4.3685</td>\n",
       "      <td>4.3854</td>\n",
       "      <td>2.7220</td>\n",
       "      <td>2017-07-19</td>\n",
       "      <td>19 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>228</th>\n",
       "      <td>3.9989</td>\n",
       "      <td>2.8293</td>\n",
       "      <td>4.4034</td>\n",
       "      <td>3.6926</td>\n",
       "      <td>4.2666</td>\n",
       "      <td>4.3692</td>\n",
       "      <td>4.3879</td>\n",
       "      <td>2.7010</td>\n",
       "      <td>2017-07-18</td>\n",
       "      <td>18 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>229</th>\n",
       "      <td>4.0120</td>\n",
       "      <td>2.8057</td>\n",
       "      <td>4.4050</td>\n",
       "      <td>3.6809</td>\n",
       "      <td>4.2706</td>\n",
       "      <td>4.3790</td>\n",
       "      <td>4.3929</td>\n",
       "      <td>2.6329</td>\n",
       "      <td>2017-07-17</td>\n",
       "      <td>17 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>230</th>\n",
       "      <td>4.0397</td>\n",
       "      <td>2.8030</td>\n",
       "      <td>4.4051</td>\n",
       "      <td>3.6860</td>\n",
       "      <td>4.2810</td>\n",
       "      <td>4.3850</td>\n",
       "      <td>4.3950</td>\n",
       "      <td>2.6270</td>\n",
       "      <td>2017-07-14</td>\n",
       "      <td>14 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>231</th>\n",
       "      <td>4.0675</td>\n",
       "      <td>2.8184</td>\n",
       "      <td>4.4074</td>\n",
       "      <td>3.6940</td>\n",
       "      <td>4.2900</td>\n",
       "      <td>4.3879</td>\n",
       "      <td>4.3978</td>\n",
       "      <td>2.6590</td>\n",
       "      <td>2017-07-13</td>\n",
       "      <td>13 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>232</th>\n",
       "      <td>4.0848</td>\n",
       "      <td>2.8156</td>\n",
       "      <td>4.4066</td>\n",
       "      <td>3.6918</td>\n",
       "      <td>4.3088</td>\n",
       "      <td>4.3909</td>\n",
       "      <td>4.3961</td>\n",
       "      <td>2.6460</td>\n",
       "      <td>2017-07-12</td>\n",
       "      <td>12 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>233</th>\n",
       "      <td>4.1205</td>\n",
       "      <td>2.8120</td>\n",
       "      <td>4.4075</td>\n",
       "      <td>3.6910</td>\n",
       "      <td>4.3212</td>\n",
       "      <td>4.3995</td>\n",
       "      <td>4.3980</td>\n",
       "      <td>2.6210</td>\n",
       "      <td>2017-07-11</td>\n",
       "      <td>11 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>4.1610</td>\n",
       "      <td>2.7840</td>\n",
       "      <td>4.4073</td>\n",
       "      <td>3.6930</td>\n",
       "      <td>4.3421</td>\n",
       "      <td>4.4006</td>\n",
       "      <td>4.3980</td>\n",
       "      <td>2.5490</td>\n",
       "      <td>2017-07-10</td>\n",
       "      <td>10 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>4.2150</td>\n",
       "      <td>2.7858</td>\n",
       "      <td>4.4091</td>\n",
       "      <td>3.6990</td>\n",
       "      <td>4.3607</td>\n",
       "      <td>4.4100</td>\n",
       "      <td>4.3980</td>\n",
       "      <td>2.5330</td>\n",
       "      <td>2017-07-07</td>\n",
       "      <td>07 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>4.2762</td>\n",
       "      <td>2.7919</td>\n",
       "      <td>4.4108</td>\n",
       "      <td>3.7080</td>\n",
       "      <td>4.3876</td>\n",
       "      <td>4.4274</td>\n",
       "      <td>4.3990</td>\n",
       "      <td>2.5473</td>\n",
       "      <td>2017-07-06</td>\n",
       "      <td>06 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>4.3380</td>\n",
       "      <td>2.8028</td>\n",
       "      <td>4.4130</td>\n",
       "      <td>3.7206</td>\n",
       "      <td>4.4285</td>\n",
       "      <td>4.4431</td>\n",
       "      <td>4.4000</td>\n",
       "      <td>2.5830</td>\n",
       "      <td>2017-07-05</td>\n",
       "      <td>05 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>4.3987</td>\n",
       "      <td>2.8299</td>\n",
       "      <td>4.4162</td>\n",
       "      <td>3.7342</td>\n",
       "      <td>4.4606</td>\n",
       "      <td>4.4569</td>\n",
       "      <td>4.4000</td>\n",
       "      <td>2.6897</td>\n",
       "      <td>2017-07-04</td>\n",
       "      <td>04 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>4.4252</td>\n",
       "      <td>2.8410</td>\n",
       "      <td>4.4193</td>\n",
       "      <td>3.7450</td>\n",
       "      <td>4.4857</td>\n",
       "      <td>4.4700</td>\n",
       "      <td>4.4005</td>\n",
       "      <td>2.7200</td>\n",
       "      <td>2017-07-03</td>\n",
       "      <td>03 Jul 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>4.4608</td>\n",
       "      <td>2.8455</td>\n",
       "      <td>4.4203</td>\n",
       "      <td>3.7510</td>\n",
       "      <td>4.5009</td>\n",
       "      <td>4.4743</td>\n",
       "      <td>4.4006</td>\n",
       "      <td>2.6180</td>\n",
       "      <td>2017-06-30</td>\n",
       "      <td>30 Jun 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>4.4955</td>\n",
       "      <td>2.8507</td>\n",
       "      <td>4.4193</td>\n",
       "      <td>3.7595</td>\n",
       "      <td>4.5211</td>\n",
       "      <td>4.4833</td>\n",
       "      <td>4.4020</td>\n",
       "      <td>2.5390</td>\n",
       "      <td>2017-06-29</td>\n",
       "      <td>29 Jun 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>4.5219</td>\n",
       "      <td>2.8577</td>\n",
       "      <td>4.4299</td>\n",
       "      <td>3.7620</td>\n",
       "      <td>4.5522</td>\n",
       "      <td>4.4998</td>\n",
       "      <td>4.4086</td>\n",
       "      <td>2.5596</td>\n",
       "      <td>2017-06-28</td>\n",
       "      <td>28 Jun 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>243</th>\n",
       "      <td>4.5480</td>\n",
       "      <td>2.8834</td>\n",
       "      <td>4.4330</td>\n",
       "      <td>3.7650</td>\n",
       "      <td>4.5833</td>\n",
       "      <td>4.5134</td>\n",
       "      <td>4.4110</td>\n",
       "      <td>2.6260</td>\n",
       "      <td>2017-06-27</td>\n",
       "      <td>27 Jun 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>4.5738</td>\n",
       "      <td>2.9063</td>\n",
       "      <td>4.4369</td>\n",
       "      <td>3.7640</td>\n",
       "      <td>4.6125</td>\n",
       "      <td>4.5210</td>\n",
       "      <td>4.4154</td>\n",
       "      <td>2.7170</td>\n",
       "      <td>2017-06-26</td>\n",
       "      <td>26 Jun 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>4.5890</td>\n",
       "      <td>2.9360</td>\n",
       "      <td>4.4345</td>\n",
       "      <td>3.7634</td>\n",
       "      <td>4.6300</td>\n",
       "      <td>4.5277</td>\n",
       "      <td>4.4167</td>\n",
       "      <td>2.8100</td>\n",
       "      <td>2017-06-23</td>\n",
       "      <td>23 Jun 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>4.6070</td>\n",
       "      <td>2.9432</td>\n",
       "      <td>4.4342</td>\n",
       "      <td>3.7333</td>\n",
       "      <td>4.6521</td>\n",
       "      <td>4.5306</td>\n",
       "      <td>4.4177</td>\n",
       "      <td>2.8690</td>\n",
       "      <td>2017-06-22</td>\n",
       "      <td>22 Jun 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>4.6322</td>\n",
       "      <td>2.9429</td>\n",
       "      <td>4.4359</td>\n",
       "      <td>3.6870</td>\n",
       "      <td>4.6880</td>\n",
       "      <td>4.5349</td>\n",
       "      <td>4.4181</td>\n",
       "      <td>2.8890</td>\n",
       "      <td>2017-06-21</td>\n",
       "      <td>21 Jun 2017</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>4.6584</td>\n",
       "      <td>2.9300</td>\n",
       "      <td>4.4368</td>\n",
       "      <td>3.6501</td>\n",
       "      <td>4.7141</td>\n",
       "      <td>4.5389</td>\n",
       "      <td>4.4140</td>\n",
       "      <td>2.8776</td>\n",
       "      <td>2017-06-20</td>\n",
       "      <td>20 Jun 2017</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>249 rows × 10 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "         1M      1W      1Y      2W      3M      6M      9M      ON  \\\n",
       "0    4.1260  2.8100  4.3990  3.6630  4.3520  4.3320  4.3530  2.5920   \n",
       "1    4.1070  2.8090  4.4000  3.6650  4.3510  4.3230  4.3520  2.5910   \n",
       "2    4.1010  2.8000  4.4000  3.6560  4.3510  4.3210  4.3500  2.5890   \n",
       "3    4.0870  2.7890  4.3990  3.6590  4.3520  4.3170  4.3490  2.5840   \n",
       "4    4.0830  2.7760  4.3980  3.6560  4.3530  4.3130  4.3480  2.5730   \n",
       "5    4.0540  2.7720  4.3970  3.6620  4.3510  4.3110  4.3450  2.5630   \n",
       "6    4.0500  2.7830  4.3950  3.6750  4.3500  4.3070  4.3440  2.5550   \n",
       "7    4.0420  2.7920  4.3940  3.6890  4.3540  4.3070  4.3430  2.5620   \n",
       "8    4.0250  2.8020  4.3940  3.7130  4.3460  4.3080  4.3430  2.5840   \n",
       "9    3.9930  2.8180  4.3930  3.7270  4.3410  4.3070  4.3400  2.5990   \n",
       "10   3.9660  2.8970  4.3910  3.7380  4.3390  4.3040  4.3360  2.8010   \n",
       "11   3.9050  2.8980  4.3880  3.7350  4.3290  4.2960  4.3330  2.8310   \n",
       "12   3.8720  2.8950  4.3850  3.7290  4.3120  4.2890  4.3300  2.8840   \n",
       "13   3.8500  2.8480  4.3810  3.7150  4.2820  4.2650  4.3260  2.7420   \n",
       "14   3.8400  2.8060  4.3760  3.6900  4.2420  4.2430  4.3180  2.5330   \n",
       "15   3.8470  2.7940  4.3730  3.6870  4.2150  4.2290  4.3150  2.5280   \n",
       "16   3.8450  2.7510  4.3710  3.6800  4.1930  4.2150  4.3110  2.5300   \n",
       "17   3.8410  2.7520  4.3730  3.6790  4.1730  4.2110  4.3090  2.5300   \n",
       "18   3.8380  2.7550  4.3710  3.6730  4.1600  4.2070  4.3070  2.5250   \n",
       "19   3.8320  2.7560  4.3710  3.6690  4.1510  4.2070  4.3090  2.5270   \n",
       "20   3.8330  2.7680  4.3700  3.6560  4.1470  4.2020  4.3090  2.5630   \n",
       "21   3.8310  2.8030  4.3660  3.6490  4.1010  4.1940  4.3060  2.5970   \n",
       "22   3.8250  2.8350  4.3630  3.6490  4.0820  4.1880  4.3040  2.7660   \n",
       "23   3.8130  2.7730  4.3550  3.6110  4.0720  4.1720  4.2970  2.6410   \n",
       "24   3.8010  2.7380  4.3530  3.5940  4.0600  4.1620  4.2890  2.5800   \n",
       "25   3.7990  2.7130  4.3480  3.6060  4.0500  4.1550  4.2850  2.4870   \n",
       "26   3.8060  2.7230  4.3460  3.6210  4.0340  4.1520  4.2820  2.5090   \n",
       "27   3.8160  2.7340  4.3460  3.6390  4.0130  4.1520  4.2780  2.5200   \n",
       "28   3.8290  2.7510  4.3480  3.6630  3.9994  4.1510  4.2825  2.5750   \n",
       "29   3.8400  2.7680  4.3490  3.6920  3.9943  4.1500  4.2850  2.5820   \n",
       "..      ...     ...     ...     ...     ...     ...     ...     ...   \n",
       "219  3.8890  2.8820  4.3881  3.7050  4.2561  4.3493  4.3790  2.8060   \n",
       "220  3.8915  2.8770  4.3892  3.7030  4.2514  4.3481  4.3761  2.8152   \n",
       "221  3.8994  2.8626  4.3908  3.7030  4.2500  4.3432  4.3760  2.7860   \n",
       "222  3.9086  2.8490  4.3904  3.6997  4.2510  4.3434  4.3759  2.7250   \n",
       "223  3.9205  2.8490  4.3935  3.6980  4.2540  4.3444  4.3770  2.7147   \n",
       "224  3.9300  2.8450  4.3960  3.6990  4.2550  4.3453  4.3782  2.7080   \n",
       "225  3.9497  2.8470  4.3977  3.7020  4.2550  4.3517  4.3804  2.7330   \n",
       "226  3.9792  2.8530  4.3976  3.7050  4.2551  4.3597  4.3812  2.7534   \n",
       "227  3.9920  2.8420  4.4008  3.6973  4.2600  4.3685  4.3854  2.7220   \n",
       "228  3.9989  2.8293  4.4034  3.6926  4.2666  4.3692  4.3879  2.7010   \n",
       "229  4.0120  2.8057  4.4050  3.6809  4.2706  4.3790  4.3929  2.6329   \n",
       "230  4.0397  2.8030  4.4051  3.6860  4.2810  4.3850  4.3950  2.6270   \n",
       "231  4.0675  2.8184  4.4074  3.6940  4.2900  4.3879  4.3978  2.6590   \n",
       "232  4.0848  2.8156  4.4066  3.6918  4.3088  4.3909  4.3961  2.6460   \n",
       "233  4.1205  2.8120  4.4075  3.6910  4.3212  4.3995  4.3980  2.6210   \n",
       "234  4.1610  2.7840  4.4073  3.6930  4.3421  4.4006  4.3980  2.5490   \n",
       "235  4.2150  2.7858  4.4091  3.6990  4.3607  4.4100  4.3980  2.5330   \n",
       "236  4.2762  2.7919  4.4108  3.7080  4.3876  4.4274  4.3990  2.5473   \n",
       "237  4.3380  2.8028  4.4130  3.7206  4.4285  4.4431  4.4000  2.5830   \n",
       "238  4.3987  2.8299  4.4162  3.7342  4.4606  4.4569  4.4000  2.6897   \n",
       "239  4.4252  2.8410  4.4193  3.7450  4.4857  4.4700  4.4005  2.7200   \n",
       "240  4.4608  2.8455  4.4203  3.7510  4.5009  4.4743  4.4006  2.6180   \n",
       "241  4.4955  2.8507  4.4193  3.7595  4.5211  4.4833  4.4020  2.5390   \n",
       "242  4.5219  2.8577  4.4299  3.7620  4.5522  4.4998  4.4086  2.5596   \n",
       "243  4.5480  2.8834  4.4330  3.7650  4.5833  4.5134  4.4110  2.6260   \n",
       "244  4.5738  2.9063  4.4369  3.7640  4.6125  4.5210  4.4154  2.7170   \n",
       "245  4.5890  2.9360  4.4345  3.7634  4.6300  4.5277  4.4167  2.8100   \n",
       "246  4.6070  2.9432  4.4342  3.7333  4.6521  4.5306  4.4177  2.8690   \n",
       "247  4.6322  2.9429  4.4359  3.6870  4.6880  4.5349  4.4181  2.8890   \n",
       "248  4.6584  2.9300  4.4368  3.6501  4.7141  4.5389  4.4140  2.8776   \n",
       "\n",
       "     showDateCN   showDateEN  \n",
       "0    2018-06-15  15 Jun 2018  \n",
       "1    2018-06-14  14 Jun 2018  \n",
       "2    2018-06-13  13 Jun 2018  \n",
       "3    2018-06-12  12 Jun 2018  \n",
       "4    2018-06-11  11 Jun 2018  \n",
       "5    2018-06-08  08 Jun 2018  \n",
       "6    2018-06-07  07 Jun 2018  \n",
       "7    2018-06-06  06 Jun 2018  \n",
       "8    2018-06-05  05 Jun 2018  \n",
       "9    2018-06-04  04 Jun 2018  \n",
       "10   2018-06-01  01 Jun 2018  \n",
       "11   2018-05-31  31 May 2018  \n",
       "12   2018-05-30  30 May 2018  \n",
       "13   2018-05-29  29 May 2018  \n",
       "14   2018-05-28  28 May 2018  \n",
       "15   2018-05-25  25 May 2018  \n",
       "16   2018-05-24  24 May 2018  \n",
       "17   2018-05-23  23 May 2018  \n",
       "18   2018-05-22  22 May 2018  \n",
       "19   2018-05-21  21 May 2018  \n",
       "20   2018-05-18  18 May 2018  \n",
       "21   2018-05-17  17 May 2018  \n",
       "22   2018-05-16  16 May 2018  \n",
       "23   2018-05-15  15 May 2018  \n",
       "24   2018-05-14  14 May 2018  \n",
       "25   2018-05-11  11 May 2018  \n",
       "26   2018-05-10  10 May 2018  \n",
       "27   2018-05-09  09 May 2018  \n",
       "28   2018-05-08  08 May 2018  \n",
       "29   2018-05-07  07 May 2018  \n",
       "..          ...          ...  \n",
       "219  2017-07-31  31 Jul 2017  \n",
       "220  2017-07-28  28 Jul 2017  \n",
       "221  2017-07-27  27 Jul 2017  \n",
       "222  2017-07-26  26 Jul 2017  \n",
       "223  2017-07-25  25 Jul 2017  \n",
       "224  2017-07-24  24 Jul 2017  \n",
       "225  2017-07-21  21 Jul 2017  \n",
       "226  2017-07-20  20 Jul 2017  \n",
       "227  2017-07-19  19 Jul 2017  \n",
       "228  2017-07-18  18 Jul 2017  \n",
       "229  2017-07-17  17 Jul 2017  \n",
       "230  2017-07-14  14 Jul 2017  \n",
       "231  2017-07-13  13 Jul 2017  \n",
       "232  2017-07-12  12 Jul 2017  \n",
       "233  2017-07-11  11 Jul 2017  \n",
       "234  2017-07-10  10 Jul 2017  \n",
       "235  2017-07-07  07 Jul 2017  \n",
       "236  2017-07-06  06 Jul 2017  \n",
       "237  2017-07-05  05 Jul 2017  \n",
       "238  2017-07-04  04 Jul 2017  \n",
       "239  2017-07-03  03 Jul 2017  \n",
       "240  2017-06-30  30 Jun 2017  \n",
       "241  2017-06-29  29 Jun 2017  \n",
       "242  2017-06-28  28 Jun 2017  \n",
       "243  2017-06-27  27 Jun 2017  \n",
       "244  2017-06-26  26 Jun 2017  \n",
       "245  2017-06-23  23 Jun 2017  \n",
       "246  2017-06-22  22 Jun 2017  \n",
       "247  2017-06-21  21 Jun 2017  \n",
       "248  2017-06-20  20 Jun 2017  \n",
       "\n",
       "[249 rows x 10 columns]"
      ]
     },
     "execution_count": 50,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df, msg = fx.get_his_shibor()\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>shibIdUpDown</th>\n",
       "      <th>shibIdUpDownNum</th>\n",
       "      <th>shibor</th>\n",
       "      <th>termCode</th>\n",
       "      <th>termCodePath</th>\n",
       "      <th>time</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0.10</td>\n",
       "      <td>0.1</td>\n",
       "      <td>2.5920</td>\n",
       "      <td>O/N</td>\n",
       "      <td>O/N</td>\n",
       "      <td>2018-06-15 11:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0.10</td>\n",
       "      <td>0.1</td>\n",
       "      <td>2.8100</td>\n",
       "      <td>1W</td>\n",
       "      <td>1W</td>\n",
       "      <td>2018-06-15 11:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0.20</td>\n",
       "      <td>-0.2</td>\n",
       "      <td>3.6630</td>\n",
       "      <td>2W</td>\n",
       "      <td>2W</td>\n",
       "      <td>2018-06-15 11:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1.90</td>\n",
       "      <td>1.9</td>\n",
       "      <td>4.1260</td>\n",
       "      <td>1M</td>\n",
       "      <td>1M</td>\n",
       "      <td>2018-06-15 11:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0.10</td>\n",
       "      <td>0.1</td>\n",
       "      <td>4.3520</td>\n",
       "      <td>3M</td>\n",
       "      <td>3M</td>\n",
       "      <td>2018-06-15 11:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>0.90</td>\n",
       "      <td>0.9</td>\n",
       "      <td>4.3320</td>\n",
       "      <td>6M</td>\n",
       "      <td>6M</td>\n",
       "      <td>2018-06-15 11:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0.10</td>\n",
       "      <td>0.1</td>\n",
       "      <td>4.3530</td>\n",
       "      <td>9M</td>\n",
       "      <td>9M</td>\n",
       "      <td>2018-06-15 11:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0.10</td>\n",
       "      <td>-0.1</td>\n",
       "      <td>4.3990</td>\n",
       "      <td>1Y</td>\n",
       "      <td>1Y</td>\n",
       "      <td>2018-06-15 11:00</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  shibIdUpDown  shibIdUpDownNum  shibor termCode termCodePath  \\\n",
       "0         0.10              0.1  2.5920      O/N          O/N   \n",
       "1         0.10              0.1  2.8100       1W           1W   \n",
       "2         0.20             -0.2  3.6630       2W           2W   \n",
       "3         1.90              1.9  4.1260       1M           1M   \n",
       "4         0.10              0.1  4.3520       3M           3M   \n",
       "5         0.90              0.9  4.3320       6M           6M   \n",
       "6         0.10              0.1  4.3530       9M           9M   \n",
       "7         0.10             -0.1  4.3990       1Y           1Y   \n",
       "\n",
       "               time  \n",
       "0  2018-06-15 11:00  \n",
       "1  2018-06-15 11:00  \n",
       "2  2018-06-15 11:00  \n",
       "3  2018-06-15 11:00  \n",
       "4  2018-06-15 11:00  \n",
       "5  2018-06-15 11:00  \n",
       "6  2018-06-15 11:00  \n",
       "7  2018-06-15 11:00  "
      ]
     },
     "execution_count": 52,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df = fx.get_realtime_shibor()\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>askPrc</th>\n",
       "      <th>bidPrc</th>\n",
       "      <th>ccyPair</th>\n",
       "      <th>midprice</th>\n",
       "      <th>time</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6.4217</td>\n",
       "      <td>6.4183</td>\n",
       "      <td>USD/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>7.4513</td>\n",
       "      <td>7.4480</td>\n",
       "      <td>EUR/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>5.8098</td>\n",
       "      <td>5.8070</td>\n",
       "      <td>100JPY/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0.81805</td>\n",
       "      <td>0.81770</td>\n",
       "      <td>HKD/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>8.5264</td>\n",
       "      <td>8.5215</td>\n",
       "      <td>GBP/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>4.7945</td>\n",
       "      <td>4.7915</td>\n",
       "      <td>AUD/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>4.4626</td>\n",
       "      <td>4.4598</td>\n",
       "      <td>NZD/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>4.7661</td>\n",
       "      <td>4.7656</td>\n",
       "      <td>SGD/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>6.4414</td>\n",
       "      <td>6.4380</td>\n",
       "      <td>CHF/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>4.8868</td>\n",
       "      <td>4.8838</td>\n",
       "      <td>CAD/CNY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0.62160</td>\n",
       "      <td>0.61750</td>\n",
       "      <td>CNY/MYR</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>9.7981</td>\n",
       "      <td>9.7600</td>\n",
       "      <td>CNY/RUB</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>2.0911</td>\n",
       "      <td>2.0902</td>\n",
       "      <td>CNY/ZAR</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>170.77</td>\n",
       "      <td>170.65</td>\n",
       "      <td>CNY/KRW</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>0.57228</td>\n",
       "      <td>0.57195</td>\n",
       "      <td>CNY/AED</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>0.58431</td>\n",
       "      <td>0.58398</td>\n",
       "      <td>CNY/SAR</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>43.4939</td>\n",
       "      <td>43.4556</td>\n",
       "      <td>CNY/HUF</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>0.57426</td>\n",
       "      <td>0.57387</td>\n",
       "      <td>CNY/PLN</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1.0003</td>\n",
       "      <td>0.9997</td>\n",
       "      <td>CNY/DKK</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1.3650</td>\n",
       "      <td>1.3640</td>\n",
       "      <td>CNY/SEK</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>1.2670</td>\n",
       "      <td>1.2660</td>\n",
       "      <td>CNY/NOK</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>0.73859</td>\n",
       "      <td>0.73859</td>\n",
       "      <td>CNY/TRY</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>3.2536</td>\n",
       "      <td>3.2524</td>\n",
       "      <td>CNY/MXN</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>5.0526</td>\n",
       "      <td>5.0474</td>\n",
       "      <td>CNY/THB</td>\n",
       "      <td>---</td>\n",
       "      <td>2018-06-15 17:55:23</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     askPrc   bidPrc     ccyPair midprice                 time\n",
       "0    6.4217   6.4183     USD/CNY      ---  2018-06-15 17:55:23\n",
       "1    7.4513   7.4480     EUR/CNY      ---  2018-06-15 17:55:23\n",
       "2    5.8098   5.8070  100JPY/CNY      ---  2018-06-15 17:55:23\n",
       "3   0.81805  0.81770     HKD/CNY      ---  2018-06-15 17:55:23\n",
       "4    8.5264   8.5215     GBP/CNY      ---  2018-06-15 17:55:23\n",
       "5    4.7945   4.7915     AUD/CNY      ---  2018-06-15 17:55:23\n",
       "6    4.4626   4.4598     NZD/CNY      ---  2018-06-15 17:55:23\n",
       "7    4.7661   4.7656     SGD/CNY      ---  2018-06-15 17:55:23\n",
       "8    6.4414   6.4380     CHF/CNY      ---  2018-06-15 17:55:23\n",
       "9    4.8868   4.8838     CAD/CNY      ---  2018-06-15 17:55:23\n",
       "10  0.62160  0.61750     CNY/MYR      ---  2018-06-15 17:55:23\n",
       "11   9.7981   9.7600     CNY/RUB      ---  2018-06-15 17:55:23\n",
       "12   2.0911   2.0902     CNY/ZAR      ---  2018-06-15 17:55:23\n",
       "13   170.77   170.65     CNY/KRW      ---  2018-06-15 17:55:23\n",
       "14  0.57228  0.57195     CNY/AED      ---  2018-06-15 17:55:23\n",
       "15  0.58431  0.58398     CNY/SAR      ---  2018-06-15 17:55:23\n",
       "16  43.4939  43.4556     CNY/HUF      ---  2018-06-15 17:55:23\n",
       "17  0.57426  0.57387     CNY/PLN      ---  2018-06-15 17:55:23\n",
       "18   1.0003   0.9997     CNY/DKK      ---  2018-06-15 17:55:23\n",
       "19   1.3650   1.3640     CNY/SEK      ---  2018-06-15 17:55:23\n",
       "20   1.2670   1.2660     CNY/NOK      ---  2018-06-15 17:55:23\n",
       "21  0.73859  0.73859     CNY/TRY      ---  2018-06-15 17:55:23\n",
       "22   3.2536   3.2524     CNY/MXN      ---  2018-06-15 17:55:23\n",
       "23   5.0526   5.0474     CNY/THB      ---  2018-06-15 17:55:23"
      ]
     },
     "execution_count": 53,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df = fx.get_cny_spot_price()\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
